Many thank's jmleglise :D Your script code example works great. Now I can combine the temp and humidity values in the same virtual sensor instead of having separate virtual sensors for each one I've had before.
Yes, I used a Temp + Humidity virtual sensor when I tried to get the LUA code to work ...
Search found 2 matches
- Thursday 21 January 2016 21:36
- Forum: LUA
- Topic: LUA-script + virtual sensor + temperature + humidity
- Replies: 17
- Views: 21710
- Wednesday 20 January 2016 14:34
- Forum: LUA
- Topic: LUA-script + virtual sensor + temperature + humidity
- Replies: 17
- Views: 21710
LUA-script + virtual sensor + temperature + humidity
Can someone please help me understand how I should make a working LUA-script so the temperature and humidity will show up in a virtual sensor?
I’m importing temperature and humidity from a Tellstick Net sensor and store them in a file on my Raspberry Pi, then I want a LUA-script to place these ...
I’m importing temperature and humidity from a Tellstick Net sensor and store them in a file on my Raspberry Pi, then I want a LUA-script to place these ...