Closed mockballed closed 6 years ago
I got it working again. It'd seem that the LocalKey changed and that you don't need it for getter functions?
@s0ne correct. The localKey
isn't needed to get properties, but is needed to set properties.
It changes every time you re-add your device to an app.
I had both getters and setters working before, but now only the getter functions work. I can still control the smart bulb using the android app.
If I run this test script
It prints:
I've made sure the android app is not connected to the bulb when running the scripts. I'm rather puzzled. Any ideas what could be wrong?