Door magnetic sensor rendered as switch instead contact

Moderator: leecollings

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

Door magnetic sensor rendered as switch instead contact

Post by Joc8 »

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 719 times
User avatar
felix63
Posts: 244
Joined: Monday 07 December 2015 9:30
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.1
Location: Gouda
Contact:

Re: Door magnetic sensor rendered as switch instead contact

Post by felix63 »

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 1 guest