Hi
I was wondering if it would be possible to implement a virtual switch as an item?
My problem is I have a few serially controlled relays (24 to be exact) and it would be very handy to have an item, where you can define for example "ON=exec /home/serial1_1 on" "OFF=/home/serial1_1 off".
It would then also be possible to include them in lampgroups to turn them on or off.
I currently use ActionButtons, but this is really inflexible....
Or does something like this exist and I'm just too blind to see it??
Regards,
Tobbe
Virtual switch
-
- Site Admin
- Posts: 313
- Joined: Sun Nov 30, 2014 2:16 pm
Re: Virtual switch
This is an excellent idea. There is no such Item yet (I did not think of it). I will implement it right away. Traditionally Items that turn things on and off are called Lamps in OpenNetHome, so I will probably call it CustomLamp or something similar.
Re: Virtual switch
Yay
This makes me very happy!
Please tell me when a snapshot is available for download
Thank you for your quick reply!
Tobbe
This makes me very happy!
Please tell me when a snapshot is available for download
Thank you for your quick reply!
Tobbe
-
- Site Admin
- Posts: 313
- Joined: Sun Nov 30, 2014 2:16 pm
Re: Virtual switch
Ok, a brand new shiny HomeItem called CustomLamp is now in the latest nightly build. Please try it out, and tell me if it is what you needed.
Re: Virtual switch
Hi
Yes, this is exactly what I needed.
Thank you so much!
Tobbe
Yes, this is exactly what I needed.
Thank you so much!
Tobbe