- Posts: 1
- Thank you received: 0
ricardot wrote: Hello,
What I need to do to execute a script when a binary sensor goes from "0" to "1"? I want to send an email.
jilldris wrote: A tutorial would be highly appreciated
For some reason I dont't get the examples working just writing text to the console even thouht I have activated them.
Regarding the virtual sensor, It might also be used to present data from unsupported sensors. Today I use the mysensors driver and have som unsupported sensors, so I send and present them all as temperatures. Works really god but it would be nice to be able to map it to a configurable sensor where it is possible to configure the unit etc.
jilldris wrote: I can add additional custom propetys to a generic sensor, however how do I set it to something else than a constant? Eg how do I map the data that I have sent as temperatures?
Do I need do do somethings else than to enable the scripts to get them to execute? Have done that with the examples but they do not seem to execute even thogh the cron setting is * * * * *.