SiPy's ID and PAC
I have uploaded latest firmware to my first SiPy board. Apparently it has been succesfully updated to version 1.6.5.b1 and it has been shown an ID and a PAC on the terminal tool. But when I am trying to read id() and pac() from microPython I am getting all FF.
from network import Sigfox
Do you have any suggestion to get the proper id() and pac()?
Colateral last edited by
@bucknall For SIgfox backend registration I beleive I need to put the ID and and PAC out put from with hexlifiy
print("ID ", ubinascii.hexlify(sigfox.id()))
print("PAC ", ubinascii.hexlify(sigfox.pac()))
in my case is:
so ID that I typed is '004e3d90' and PAC 'c957cd18b7848c0'
The device seems to be registered but on backend device webpage I can not see it online at all. How I do I know when is connected to the (Luxembourg) Sigfox network and will get online?
It is done immediately or shall I wait?
@josep-salom You need to solve this problem first so that you can use the firmware updater in online mode. This is required to get your Sigfox ID and PAC allocated. I suggest you email us with your IP address so that we can do some testing.
@xykon So sorry, I'm very new on that. What does it exactly mean? How should I do that?
@josep-salom Sigfox registration requires using the firmware updater in online mode.
@xykon I've just upgraded SiPy and still have the problem:
>>> b'ffffffff' b'ffffffffffffffff' > Pycom MicroPython 1.18.0 [v1.8.6-849-046b350] on 2018-06-01; SiPy with ESP32 Type "help()" for more information. >>>
How could I get the right ID and PAC?
@xykon I'm using the procedure as indicated in https://docs.pycom.io/chapter/gettingstarted/registration/sigfox.html, and I got:
>>> b'ffffffff' b'ffffffffffffffff' > MicroPython v1.8.6-470-gf41d0f27 on 2017-02-22; SiPy with ESP32 Type "help()" for more information. >>>
which are not correct ID and PAC.
I'm using SiPy module with Pysense, on a Mac OS X 10.11.6 running Visual Studio Code.
@josep-salom Can you please provide more details? What is the output you get from the commands?
I have the same problem. How could I find the right Device ID and PAC?
I'm using Mac OS X.
I've tried to re-flash SiPy by using MS Windows firmware updater. It works great! Thank you! Hope, you'll be able to fix Linux firmware updater soon.
@michal.zykov, we've identified a problem with the Linux Firmware Updater and are handling it now. If you could use the Windows or Mac OS Firmware Update tool, that should get you up & running for the time being!
Apologies about this! We're working to get it sorted asap!
Yep, I already updated SiPy by using Linux updater (Fedora 25) - SiPy firmware 1.6.7.b1. I'm able to send a print-screen that it was successful.
Hi @michal.zykov! First of all, have you updated your SiPy? And if so are you using Debian (Linux) to update your device?
Even if I use the mentioned snippet the same output can be seen, i.e. b'ffffffff'. Any suggestion?
@daniel Fortunately I have tried your Pycom Firmware Update from a virtualized Windows on Debian.
Using Linux firmware updater on Debian, reading from Python SiPy ID and PAC are all ffff.fff. But using Windows updater version, I am able to read properly ID and PAC from Python (Linux or Windows).
Hopefully you will be able to check and fix updater for Linux.
Thank you for your answers and collaboration.
daniel last edited by
@Jordi this is a ver estrange issue and it appears that the tool is not able to program the PAC and ID on your board. We haven't changed anything around the Sigfox ID/PAC registration process, but can you try updating to 1.6.7.b1?
If that doesn't work, please email me your WiFi MAC address to support at pycom.io so that we can have a look in our database. Get the mac like this:
from network import WLAN import binascii binascii.hexlify(WLAN().mac())
@bucknall I would like to try any firmware previous version.
But https://www.pycom.io/support/supportdownloads/#firmware is down right now.
I will appreciate any tested firmware to be able to try https://github.com/pycom/pycom-libraries/blob/master/examples/sigfoxUplink/main.py on SiPy
maku last edited by
It works one out of 20. But this is the very usual output.
@maku can you post a picture of what your console looks like? You might have some settings configured differently.
maku last edited by
How do you get your print functions to output to Pycom Console? My console only shows all the other stuff, never the actually desired output.