i love your project it works perfect but i seek for something like a simple automation
when the temp sensor is more than 22c a relay is switch to make some kind of thermostat
Hi, actually you can do this with current version of EasyIoT server. Automation part is under Configuration->Automation.
You can execute program on time based (like cron) or event based (for example when temperature is more than 22C). It's possible to switch on and off modules (for example GPIO DO or ESP9266 DO). I will write tutorial about automation function.
That sounds really great!
Would be very interesting to see an example that shows how to read sensor data and how to set the state of a switch/light based on sensorvalues and also actual time.
Another great feature would be to be able to create a virtual sensor that it is possible to define unit and picture for. Would be good for presenting calculated values that is based on a combination of several sensor inputs.
Hi, example code can be found in EasyIoT server under Configuration->Automation. But I will write tutorial to make programming easier.
Virtual sensor is good idea, I've been thinking about this and I will add this functionality in future. Now you can use existing sensor and Generic sensor type. You can add additional parameters to existing sensor.