I am new to OpenHab and am struggling with trying to achieve what I want. I am working on an android dashboard for my home that will be deployed on various devices in my household.
I am using Pushover to communicate changes to my devices.
What I am trying to do is when an item in my group changes, I would like to retrieve all items in that groups names and current state. I would then like to create json string from these results and send them as a message in PushOver.
I am struggling right from the start really!
I have a group called gHall_Lights, that contains 2 switches and two dimmer items, I am trying to send a json string like
can anyone get me started?
rule "Update Hall Lights"
when Item gHall_Lights changed
I have tried gHall_Lights.members.forEach but I get an couldn’t resolve reference error so I am completely stumped! EDIT -! Restarting The designer fixed this bit!
Any help would be gratefully received!