# Argon Wifi Setup via normal serial?

**URL:** <https://community.particle.io/t/argon-wifi-setup-via-normal-serial/64600>\
**Category:** Connectivity\
**Created:** [May 23, 2023, 4:05pm UTC](https://community.particle.io/t/argon-wifi-setup-via-normal-serial/64600 "2023-05-23T16:05:36Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![jgskarda](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/jgskarda/32/28848_2.png) [@jgskarda](https://community.particle.io/u/jgskarda)\
**Post date:** [May 25, 2023, 12:25am UTC](https://community.particle.io/t/argon-wifi-setup-via-normal-serial/64600/7 "2023-05-25T00:25:04Z")

</div>

I'm sure there is a way to do it via Particle CLI and Python, but what I found works well when commissioning devices is using a 2D barcode scanner to just scan the code on the Boron. That way, I didn't need to do any CLI commands in Python to get the Serial number of Device ID. The 2D barcode scanner makes for quick work! This is what I use: [2D QR Barcode](https://www.amazon.com/gp/product/B08TWCP4DD/ref=ppx_yo_dt_b_search_asin_image?ie=UTF8&psc=1)

Here is an early version of a Python script I use to commission a device I reference in a post sometime back.

> [@Argon CLI Setup Tool](https://community.particle.io/t/argon-cli-setup-tool/62474/7):
>
> I’ll create the GitHub repo once I include the “adding the device to the product” and also migrate to a Flask App interface. If/when I do that, I’ll share it back here or maybe just create a new post sharing all the details. In the meantime… here is the 3/4 baked Python script I use today and just use the Command Line as the interface. I’d appreciate any feedback/ideas on how to make this even easier. If I end up doing hundreds of devices, I may try and setup a raspberry PI with cheap touch scr…

Basically this script will:

1. Add a device to a product
2. Claim the device to an admin account
3. Add notes and change the device name
4. Add it to my SQL backend
5. Flash my user application firmware via Hex file

I was using this for cellular based devices so I never added the WiFi step. Are you initiating Particle CLI commands from the Python script to setup WiFi then? If so, you mind sharing a code snippet of that as I may want to add that to the Python script in the future.

---

_[View the full topic](https://community.particle.io/t/argon-wifi-setup-via-normal-serial/64600)._
