Open christoschronopoulos opened 5 years ago
Hi @christoschronopoulos https://github.com/alexstocker/sensordata/blob/master/sensordata.ino is for Simple logging purpose only.
If you want to log data from a sensor device providing more than humidity and temerature, than you need to
or even better, write a new NodeMCU Extended Sample ;-) I'm planning to do so, but this will take a while.
I suggest to try the correspnding PHP Examples for device registration and sending extended logs first.
@alexstocker thank you for your reply! I am not familiar with the PHP and JSON, and, as far as I understand, there is a way to Register and GetDeviceDataTypes in Arduino code for NodeMCU. Any clues about how to do it?
Anyone who could help?
Sorry @christoschronopoulos there is no way to get this done for NodeMCU without some additional effort.
Of course, I could try things, but I don't know what.
Dear all,
I have successfully achieved to log temperature and humidity to my owncloud by using the sample code provided by alex (the one for the NodeMCU/Arduino). However, I cannot make it send the light intensity values even though I have changed the code. In other words, I would like some guidance on how to log more than two data types and what changes I need to make. Thank you in advance.