(SOLVED) Humidity sensor value change

Moderator: leecollings

Post Reply
usky73
Posts: 39
Joined: Saturday 07 November 2015 9:53
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: france
Contact:

(SOLVED) Humidity sensor value change

Post by usky73 »

Hi
I am trying to connect some thermal & humidity sensors using the update device option : dummy device creation and a php setting using the command describe in the wiki :

Code: Select all

IP/json.htm?type=command&param=udevice&idx=IDX&nvalue=45&svalue=HUM;HUM_STAT
I did an example with this values :

Code: Select all

IP/json.htm?type=command&param=udevice&idx=IDX&nvalue=45&svalue=34;3
The HUM_STAT value is sometimes considered but the humidity is not taken in account.

Do you have any idea ?
Last edited by usky73 on Sunday 08 November 2015 16:32, edited 1 time in total.
User avatar
gizmocuz
Posts: 2492
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Humidity sensor value change

Post by gizmocuz »

If it is for a humidity only sensor (so not a temp+hum combo) the format should be

IP/json.htm?type=command&param=udevice&idx=IDX&nvalue=HUM&svalue=HUM_STAT

I corrected the wiki, hope it works now
Quality outlives Quantity!
usky73
Posts: 39
Joined: Saturday 07 November 2015 9:53
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: france
Contact:

Re: Humidity sensor value change

Post by usky73 »

It works perfecly.
Thanks a lot !
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest