If you just want to serve static updates, you can use IIS. The only reason python is used for that example is because it generates the updates on the fly from any version to the latest. You could generate the JSON files yourself and just statically serve them along with the required files.
Hi @JVGD, thanks for reporting this. Looking at the error message, I'm wondering if you can check if the folder '~/.atom/packages/pymakr' is in lower case, not uppercase as 'Pymakr'? There was a change from uppercase to lowercase a couple of versions ago, but in some cases the uppercase version stayed in some atom cache or config file, causing issues like this...
It looks like you are using PlatformIO, this is not something we currently support. Pymakr is a standalone plugin for atom and does not interact with platformIO in any way. To create a pymakr project, just create a empty folder on your computer and open it with atom. You can then add project settings via the settings menu in the Pymakr panel and create a main.py file.
The library does say it will work with Micropython so reusing some of the code regarding OBDII protocol should be less difficult. However the library is designed for the ELM327 device. Unless you use the device, there will be effort into making the code work with your specific communication method, for example directly using the Pycom CAN interface.
@daniel Would the LoRa chip on a LoPy stay active during light sleep? If so, the same kind of trick could help save quite a bit of energy when sending a packet: the time until RX2 usually does not need the CPU to be doing anything, so one could easily save 2 seconds of CPU awake time.
When using the slowest data rates, the CPU could also be sleeping during the TX phase itself, I suppose.
Even if light sleep is not possible, what about machine.idle? I understand it’s not currently working as intended, but if there’s a way to fix that it could probably help as well.