Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Subcategories
F
@jkandasa I finally had the chance to test the SNAPSHOT and it works !
Now I have just to remember how to send the sensor states.
Thanks a lot !
M
@jkandasa Thanks for the hint. I'v created following script and it works 😄
var dimCree = mcApi.uidTag().getByUid("dimm_cree_uid"); var dimCob = mcApi.uidTag().getByUid("dimm_cob_uid"); ( dimCree.sensorVariable.value == 0 && dimCob.sensorVariable.value == 0 )
Thanks for all the effort, Marek
S
@jkandasa said in simple script to compare 2 values.....:
@skywatch Sorry for the delayed response, let me know if you need additional help.
No problem! - I know you are very busy lately.
Thanks for the pointers, I will try them in the next few days I hope!
No one has replied