Hey,
is there an option for a read-only 433mhz (homeduino) device in the gui like pilight has?
Read Only Homeduino device
Hey,
is there an option for a read-only 433mhz (homeduino) device in the gui like pilight has?
pimatic-google-calendar | pimatic-wmi | pimatic-snmp | pimatic-wakeonlan |
Like my work? Then consider a donation
Follow me: www.thorstenreichelt.de
@thost96 You can setup a HomeduinoRFSwitch with a receive-only protocol definition. However, in the UI it is still possible to switch. As a work-around you can hide the switch (don’t display the device) and setup a VariablesDevice to present the switch state.
{
"id": "switchmp",
"name": "Multi Switch",
"class": "HomeduinoRFSwitch",
"protocols": [
{
"name": "switch2",
"options": {
"houseCode": 17,
"unitCode": 0
},
"send": false,
"receive": true
}
]
}
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
How do i define a VariablesDevice in my config and change the value of it when the switch is triggered? i didn’t work with variables before …
pimatic-google-calendar | pimatic-wmi | pimatic-snmp | pimatic-wakeonlan |
Like my work? Then consider a donation
Follow me: www.thorstenreichelt.de
{
"id": "switchmp",
"name": "Multi Switch",
"class": "HomeduinoRFSwitch",
"protocols": [
{
"name": "switch2",
"options": {
"houseCode": 17,
"unitCode": 0
},
"send": false,
"receive": true
}
]
},
{
"variables": [
{
"name": "switchState",
"expression": "$switchmp.state",
"type": "string"
}
],
"id": "switchStateDevice",
"name": "Switch State",
"class": "VariablesDevice"
},
The will display true or false. I guess this can be done somewhat nicer like displaying ON or OFF
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law