This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Mosaic Co2/humidity/temp sensor
#1
I'm trying to use the Mosaic widget for air quality, but I'm unable to add my humidity since it is 2 byte floating point, does it only accept 1 byte unsigned integer?

[Image: 8ANbn0s.png]
Reply
#2
Create a virtual object with 5.001 data type (32/0/1 in this example) and attach an event script to the 9.007 humidity object:
Code:
value = event.getvalue()
grp.checkupdate('32/0/1', value)
Reply


Forum Jump: