Bonzo wrote:I currently have a Nodemcu in my greenhouse which transmits the sensor data to a Pi in my house on a request from some Python code on the pi. The pi uses Python to save the data to a csv file. The pi has a webserver and uses php to select the data ( each month is in a different file ) and send that to some jquery code to build an interactive graph.
The problem with this is the pi as it is not very reliable - the wireless stops every now and again and the pi seems to hang after a few days of running. Sometimes it will re start on its own other times I need to unplug it as it is un responsive to keyboard, mouse or wireless.
Options I have thought of:Wireless adaptor on the PC - The PC may not always be on and it uses a lot more energy than the pi
I know there is a lot of hardware around these days and it is a matter of picking the right piece - I should also say the Nodemcu is running from a 3.7V battery charged from a solar panel which restricts the options at that end.
Micropython on the Nodemcu - I doubt there will be enough memory to save the data after a while and probably not display it in the format I want
A pi alternative - I have no idea what would be more reliable and most are way overspecked/expensive for what I need.
If I have a wireless datalogger that may work as I can request the csv files from that and run it through Python/php/JavaScript on the PC.
Use my spare Nodemcu and connect it to an SD card to save the data
This project is not critical as I only started it as it gave me something to do and I would hopefully learn a bit of Python so I do not want to spend a lot more money on it. But it would be nice to see it through so any ideas would be useful.
Note: I am old fashioned and not a fan of the cloud but that may be a way to go?
maybe help you
see: https://github.com/lucasromeiro/DropboxManager
library manager: DropboxManager