Door magnetic sensor rendered as switch instead contact

Post Reply
Joc8
Posts: 4
Joined: Sunday 14 January 2018 22:52
Target OS: Raspberry Pi
Domoticz version:
Contact:

Door magnetic sensor rendered as switch instead contact

Post by Joc8 » Sunday 08 July 2018 11:11

Hi,

I have a few of these 433MHz magnetic sensors and I don't like the fact Domoticz treats them as switches. I.e. They can be toggled from the dashboard - which doesn't make sense.

Is there a way to restrict this, e.g. by converting it to 'contact' or sth else?
Should I create new virtual contact and write a script where (original) switch would toggle contact?

Thanks for your suggestion,
Joc.
Screenshot_1.png
Screenshot_1.png (51.22 KiB) Viewed 305 times

User avatar
felix63
Posts: 161
Joined: Monday 07 December 2015 10:30
Target OS: Raspberry Pi
Domoticz version: 3.8275
Location: Gouda
Contact:

Re: Door magnetic sensor rendered as switch instead contact

Post by felix63 » Sunday 08 July 2018 12:51

What do you see if you select edit? Don't you have an option to change the switch type? Also I would expect a checkbox marked 'Protected' if you check this box the switch can not be changed by the user.

Hope this helps

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests