2:19:05 PM: error groovy.lang.MissingPropertyException: No such property: deviceNetworkId for class: java.lang.String @ line 153
2:19:05 PM: trace afbddadb-c2aa-4172-880b-ec0d16fb556b
So, it’s reading the device as a string, and it is not able to obtain the NetworkID or the Endpoint. How do i get the networkID from this?
SmartApps don’t handle lights well because they are rather slow. Zigbee is instantaneous. Zigbee is more appropriate for controlling lights. Device Type requires manual entry of the NetworkID and the endpoints for the lights. When the network id changes, you have to manually update it. I’m trying to avoid the manual update.
I think I could write a smart app that would receive a specific event and then update the device state, which could be read next time the device operates. Is this correct? Can I have a device send a “device” reference within an event, then the smart app can look up the address and send it back? Is this a viable option?
This seems like something that should be part of SmartThings infrastructure.