Page 1 of 1
Alarm status light? how to set the color of fibaro wall plug?
Posted: Thursday 22 June 2017 14:28
by Keleos
Hello everyone,
currently I set up an alarm system with z-wave components (I also write a german howto).
Everything works fine (also the RFID keypad

)
BUT no one knows the current state of the system without a phone nearby. Do you have any idea how I could set up a kind of status led?
My idea is to use the rpg fibaro wall plug light to show the current state:
red: alarm event active (and siren is going to blow the neighbours out of their beds in 2 minutes if not disable the system

)
white: system set to "armed home"
green: system set to "armed away"
off: alarm system disabled
Now the big question: how do I set the color of the fibaro wallplug (with Blockly?) ?
Thank you very much.
Greetings
Kel
PS: I'm currently not able to access the config of the fibaro wall plug directly (dont know why)... YcKe tries to help me solve this issue here:
https://www.domoticz.com/forum/viewtopi ... 24&t=17890
Re: Alarm status light? how to set the color of fibaro wall plug?
Posted: Thursday 22 June 2017 15:37
by heggink
2 options: 1) auto arm/disarm based on presence (icloud gps position, Bluetooth ping, wifi ping is what I use) icw no movement in the house for a couple of minutes or 2) a speaker attached to the system shouting that the alarm is active (have that as well). That said, you should definitely be able to change a colour based on alarm states although you probably cannot track the alarm being activated state (from arming to armed).
Re: Alarm status light? how to set the color of fibaro wall plug?
Posted: Thursday 22 June 2017 16:28
by Keleos
Hi heggink,
nice idea

I'll use it for activating and disable the alarm system.
But when someone is at home I would like to show the "armed home" or "disarmed" state, so I've to use a permanent solution (nice idea with the speaker, but I think I would kick it over the street after the first night when it tells me for example every ten minutes that the system is in "armed home" state XD).
The switch from arming to armed is not necessary, it would be enough to know the final state.
I've to find out how to change the colors of the plug...
Greetings
Kel
Re: Alarm status light? how to set the color of fibaro wall plug?
Posted: Thursday 22 June 2017 21:37
by Egregius
Search the forum, there's somewhere a topic with a script for that.
Re: Alarm status light? how to set the color of fibaro wall plug?
Posted: Friday 23 June 2017 8:14
by tequila
I am also interested!
https://www.domoticz.com/forum/viewtopic.php?t=15141
I will give it a try when I have more time.
Re: Alarm status light? how to set the color of fibaro wall plug?
Posted: Friday 23 June 2017 12:43
by Keleos
Oh, nice - someone already did this

I'll check it this weekend.
Greetings
Kel
Re: Alarm status light? how to set the color of fibaro wall plug?
Posted: Friday 23 June 2017 19:34
by tequila
Working great for me!
Example to turn the light red:
Code: Select all
http://192.168.1.4:8080/json.htm?type=command¶m=applyzwavenodeconfig&idx=19&valuelist=42_UmVkIGlsbHVtaW5hdGlvbg%3D%3D_
To turn the light off:
Code: Select all
http://192.168.1.4:8080/json.htm?type=command¶m=applyzwavenodeconfig&idx=19&valuelist=42_aWxsdW1pbmF0aW9uIHR1cm5lZCBvZmYgY29tcGxldGVseQ%3D%3D_
Just read the above mentioned thread to learn how to find out the correct idx value. Unfortunately it is different from the Domoticz node ID.
Re: Alarm status light? how to set the color of fibaro wall plug?
Posted: Thursday 14 March 2019 17:54
by johnnyboy1984
It doesn't work for me. I thought changing the ip, port and idx should be enough.
I looked up the idx from the hardware page and took 24 from (024 (0x18)) i thougt that would be the correct idx right?
But i get json "status" : "ERR" when i type the url in my browser and in domoticz nothing happens when i add the url to an on-action of a dummy switch.
What am i doing wrong?