automation

9 years 11 months ago #8 by arno
automation was created by arno
hello

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

keep up the good work.
thanks

Please Log in or Create an account to join the conversation.

9 years 11 months ago #9 by EasyIoT
Replied by EasyIoT on topic automation
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.

Please Log in or Create an account to join the conversation.

9 years 11 months ago #10 by arno
Replied by arno on topic automation
Hi

I had seen somerhing like that but i am not that good with programming so a tutoriaal would be nice. Is the current sensor supported?

Thanks.

Please Log in or Create an account to join the conversation.

9 years 11 months ago #11 by EasyIoT
Replied by EasyIoT on topic automation
Automation works with all sensors and on all drivers. I will write tutorial about this to clarify things.
The following user(s) said Thank You: jilldris

Please Log in or Create an account to join the conversation.

9 years 10 months ago #12 by jilldris
Replied by jilldris on topic automation
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.

Please Log in or Create an account to join the conversation.

9 years 10 months ago #13 by EasyIoT
Replied by EasyIoT on topic automation
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.

Please Log in or Create an account to join the conversation.

Time to create page: 0.317 seconds

Forum latest

  • No posts to display.