Well like the title says, is there a touch button/switch available in virtual sensors. I guess not, at least I couldn't find it. I ask this, because I want to add ir remote buttons to drive lirc on a raspberry pi b+ with an ir led connected to the gpio. The only one I came across which would do the same is the Doorbell button, however by default you can't change the icon for that.
If anyone else has done this before and has some good ideas I am all ears.
If not, I will take another look at the source code and see if it is easy to implement. I was thinking of making my own custom pages which would be the fastest, but not my preferred way. I rather have the option available in domoticz.
Thanks in advance for any ideas or usefull info
Touch button in virtual sensors?
Moderator: leecollings
- gizmocuz
- Posts: 2350
- Joined: Thursday 11 July 2013 18:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Top of the world
- Contact:
Re: Touch button in virtual sensors?
You could add a switch, and set the type to 'push on'
Quality outlives Quantity!
-
- Posts: 5
- Joined: Monday 02 November 2015 14:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Touch button in virtual sensors?
Well then it will be on constantly or did I miss something? It doesn't seem to work correctly or I am misusing it. When I select a push on switch type It switches on for the first time and then doesn't switch of again. Also there is no way to add a custom icon. The push off has also no custom icons, that would then be a better option if it had.
I do however have another idea, just using a regular light switch and make my script that I call turn it off again with a json call. By no means perfect, but I think it will work for now until I have a better understanding on the source code to implement something better.
Ah sorry I would need to set the off delay timer, then the push on works correctly. However like I said no way to select a custom icon.
I do however have another idea, just using a regular light switch and make my script that I call turn it off again with a json call. By no means perfect, but I think it will work for now until I have a better understanding on the source code to implement something better.
Ah sorry I would need to set the off delay timer, then the push on works correctly. However like I said no way to select a custom icon.
Who is online
Users browsing this forum: No registered users and 0 guests