@hetifi said in Lora -> TTN-console working. Howto open Pybytes payload ?:
If look device data: payload: 9E050233335341
Line in Main.py:
pybytes.send_virtual_pin_value(False, id_payload , (ruuvitag.temperature))
But maybe is more wise code tree temperatures in one transmission my own and not use pybytes.send_virtual_pin_value.
After one night sleep... 9E050233335341 is simply 13.2 (32-bit float)
I'm building two projects around the GPy (using LTE Cat M1--no NB-IoT in these parts yet) and have been experimenting with ways to keep power usage low.
I've summarized the tests and modeling in this video, with a bit of extra info on this page.
The short version is that I'm comparing sleeping while completely detached, attached but disconnected and connected. As expected, sleep power needs increase with increasing level of connectivity but my main questions are about the attach/detach and connect/disconnect process.
I've found them to be relatively slow--attaching usually taking around 6 seconds but sometimes going up to almost 30, and connecting being closer to 1.5s but getting up to 6 or more at times.
This overhead makes quick "hit & run" type wake-transmit cycles difficult and I'm wondering if they are normal... what is your experience in this matter?
Also, the sleep current requirements when I'm connected are somewhat higher than I expected as well. Are the readings I've collected (~25mA with spikes into the 100+ mA range) standard?
Finally, do you have any advice that might help extend battery power further than the approaches I mention in the resources above?
I have developed (yet another) library for driving WS2812B LEDs with the Pycom boards. Most of the existing libraries are using the SPI peripheral, which did not work very well for me. I got timing issues when i have tried to drive a large chain of LEDs. I know that there is already a library that uses the RMT peripheral but this library is from 2016 and is somehow deprecated because it uses low-level functions to access the RMT registers. Therefore I have tried to develop something new that solves theese issues.
This library uses the high-level RMT function from the Pycom firmware API to drive the WS2812 LEDs. Until now the library was only tested with the WiPy 3.
All files and documentation can be found on GitHub (https://github.com/Philipp-IoT/WS2812B).
I have a problem when I upload a project on my L01 via wifi reseting is actually failing, blue heartbeat is present, I tried machine.reset() too but still no reseting. I have to unplug manually the battery to reset it.
I also observe that if I switch the connection to uart when the module is in this funky mood and try again machine.reset() it's working.
Since my product is always connected to a battery is this a software problem ?
Hello, what about the accessory previously view on your shop (tagged "coming soon"), like Infrared Image Sensor. We can see them again here: https://pycom.io/product/pyscan/, but on the webshop they have disappear. Can we expect find them on your webshop in the future or not?
Thank's and have a nice day