Problem with PPM indicator

Moderator: leecollings

Post Reply
BartSr
Posts: 395
Joined: Sunday 03 July 2016 16:16
Target OS: Raspberry Pi / ODroid
Domoticz version: V2024.7
Location: Netherlands
Contact:

Problem with PPM indicator

Post by BartSr »

Hi,
I hooked up a Sensair airquality sensor to espeasy.
In espeasy I see correct PPM value
Than I created in Domoticz dummy device airquality
I sent datya from esp easy with command
SendToHTTP,<192.168.2.100>,<8080>,/json.htm?param=udevice&type=command&idx=910&nvalue=401.00
But nothing arrives in Domoticz
Any suggestion?

If I hook the value using MQTT I see in the device list also nothing but if I use instead dummy device "GAS" I see the value as 0.401

-Bart
Raspberry pi 3b
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
User avatar
waltervl
Posts: 5853
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Problem with PPM indicator

Post by waltervl »

If I remember correctly easpeasy has an issue with "?param" statement.
So perhaps try

Code: Select all

SendToHTTP,<192.168.2.100>,<8080>,/json.htm?type=command&param=udevice&idx=910&nvalue=401.00
Also you can try to send integer value instead of decimal so 401 instead if 401.00
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
User avatar
jvdz
Posts: 2328
Joined: Tuesday 30 December 2014 19:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.107
Location: Netherlands
Contact:

Re: Problem with PPM indicator

Post by jvdz »

Get rid of the <> in both the IP and port parameters.
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
User avatar
waltervl
Posts: 5853
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Problem with PPM indicator

Post by waltervl »

jvdz wrote: Wednesday 18 January 2023 15:33 Get rid of the <> in both the IP and post parameters.
Indeed, RTFM ;-) https://espeasy.readthedocs.io/en/lates ... sendtohttp
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
User avatar
FireWizard
Posts: 1892
Joined: Tuesday 25 December 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Voorthuizen (NL)
Contact:

Re: Problem with PPM indicator

Post by FireWizard »

Hi,

The "Air Quality" sensor accepts only integer values. I see you try to send a number with two digits, 401.00
Try to send only nvalue=401.

Regards
BartSr
Posts: 395
Joined: Sunday 03 July 2016 16:16
Target OS: Raspberry Pi / ODroid
Domoticz version: V2024.7
Location: Netherlands
Contact:

Re: Problem with PPM indicator

Post by BartSr »

Yes, removing the < and > did the trick. And yes I left the last digits behind "."
Thanks to both Waltervl as well as jvdz.
Raspberry pi 3b
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest