Alarm status light? how to set the color of fibaro wall plug?

For Z-Wave related questions in Domoticz

Moderator: leecollings

Post Reply
Keleos
Posts: 29
Joined: Saturday 27 May 2017 9:37
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Alarm status light? how to set the color of fibaro wall plug?

Post 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 :D )

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
User avatar
heggink
Posts: 977
Joined: Tuesday 08 September 2015 21:44
Target OS: Raspberry Pi / ODroid
Domoticz version: 12451
Location: NL
Contact:

Re: Alarm status light? how to set the color of fibaro wall plug?

Post 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).
Docker in Truenas scale, close to latest beta
DASHTICZ 🙃
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
Keleos
Posts: 29
Joined: Saturday 27 May 2017 9:37
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Alarm status light? how to set the color of fibaro wall plug?

Post 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
User avatar
Egregius
Posts: 2589
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: Alarm status light? how to set the color of fibaro wall plug?

Post by Egregius »

Search the forum, there's somewhere a topic with a script for that.
tequila
Posts: 60
Joined: Tuesday 02 August 2016 17:08
Target OS: -
Domoticz version:
Contact:

Re: Alarm status light? how to set the color of fibaro wall plug?

Post 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.
Keleos
Posts: 29
Joined: Saturday 27 May 2017 9:37
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Alarm status light? how to set the color of fibaro wall plug?

Post by Keleos »

Oh, nice - someone already did this :D I'll check it this weekend.

Greetings
Kel
tequila
Posts: 60
Joined: Tuesday 02 August 2016 17:08
Target OS: -
Domoticz version:
Contact:

Re: Alarm status light? how to set the color of fibaro wall plug?

Post 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&param=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&param=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.
johnnyboy1984
Posts: 13
Joined: Thursday 14 March 2019 17:46
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Alarm status light? how to set the color of fibaro wall plug?

Post 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?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests