Updating a device based on Zigbee ID or Network ID


#1

I have a bunch of IoT devices running over LoraWan, they are PIR and Contact Sensors, plus a few temprature/humidity devices. I have obviously made virtual devices for them and I’m using webcore to send call the piston with json data to update their status.

Rather than a whole lot of If statements or multiple pistons, I’m wondering if I can update a device based on the ZigbeeID or Network ID.

For instance

Based on the above, I’d love to be able to send the device network ID for updating; is this possible?


#2

Figured it out by creating a variable device; then updating that; problem is I have to have a funny name for the device tile like atiamuri-garage-door-sensor which is a bit sad, would be nice to search a device by other meta fields