Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
A clear and concise description of what the problem is.
The value send to Domoticz via the Domoticz config / idx AirQuality is the SGP40 Raw sensor value. Domoticz can't proces this value into something sensible. The correct value should be SGP40 Air quality.
REQUESTED INFORMATION
Make sure your have performed every step and checked the applicable boxes before submitting your issue. Thank you!
[ ] If using rules, provide the output of this command: Backlog Rule1; Rule2; Rule3:
Rules output here:
- [X] Provide the output of this command: `Status 0`:
```lua
STATUS 0 output here:
13:51:58.380 CMD: status 0
13:51:58.386 MQT: garage/stat/Sensor/STATUS = {"Status":{"Module":0,"DeviceName":"Tasmota","FriendlyName":["Tasmota"],"Topic":"Sensor","ButtonTopic":"0","Power":0,"PowerOnState":3,"LedState":1,"LedMask":"FFFF","SaveData":1,"SaveState":1,"SwitchTopic":"0","SwitchMode":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"ButtonRetain":0,"SwitchRetain":0,"SensorRetain":0,"PowerRetain":0,"InfoRetain":0,"StateRetain":0,"StatusRetain":0}}
13:51:58.391 MQT: garage/stat/Sensor/STATUS1 = {"StatusPRM":{"Baudrate":115200,"SerialConfig":"8N1","GroupTopic":"tasmotas","OtaUrl":"http://ota.tasmota.com/tasmota32/release-12.5.0/tasmota32.bin","RestartReason":"Vbat power on reset","Uptime":"6T01:09:17","StartupUTC":"2024-04-06T11:42:41","Sleep":50,"CfgHolder":4617,"BootCount":53,"BCResetTime":"2024-04-02T21:47:52","SaveCount":92}}
13:51:58.395 MQT: garage/stat/Sensor/STATUS2 = {"StatusFWR":{"Version":"13.4.0(TasmoCompiler-esp32s2)","BuildDateTime":"2024-04-02T22:34:35","Core":"2_0_14","SDK":"4.4.6.240105","CpuFrequency":240,"Hardware":"ESP32-S2FH4 v0.0","CR":"417/699"}}
13:51:58.400 MQT: garage/stat/Sensor/STATUS3 = {"StatusLOG":{"SerialLog":2,"WebLog":2,"MqttLog":0,"SysLog":0,"LogHost":"","LogPort":514,"SSId":["Springfield",""],"TelePeriod":10,"Resolution":"558180C0","SetOption":["00008009","2805C80001000600003C5A0A192800000000","00000080","00006000","00004000","00000000"]}}
13:51:58.409 MQT: garage/stat/Sensor/STATUS4 = {"StatusMEM":{"ProgramSize":1185,"Free":1694,"Heap":78,"StackLowMark":4,"PsrMax":0,"PsrFree":0,"ProgramFlashSize":4096,"FlashSize":4096,"FlashChipId":"164020","FlashFrequency":80,"FlashMode":"DIO","Features":["0809","0F9045CE","00040001","61F607C3","1A4C0004","D0360881","00092098","00200000","5400E0C8","01008081","00000004"],"Drivers":"1,2,!4,7,!8,9,10,12,!24,26,29,!35,38,50,52,62,!68,121","Sensors":"1,2,5,6,7,8,9,14,15,17,18,19,20,21,26,27,31,38,39,42,44,46,47,55,56,58,59,63,65,66,72,73,74,88,89,91,92,93,98,103,109,127","I2CDriver":"8,9,10,15,17,18,20,21,24,29,30,32,36,41,42,43,45,46,51,52,60,61,62,63,69,76,82"}}
13:51:58.418 MQT: garage/stat/Sensor/STATUS5 = {"StatusNET":{"Hostname":"Sensor-7878","IPAddress":"192.168.1.186","Gateway":"192.168.1.1","Subnetmask":"255.255.255.0","DNSServer1":"192.168.1.1","DNSServer2":"2606:4700:4700::1001","Mac":"70:04:1D:E0:7E:C6","IP6Global":"2a02:a460:e236:1:7204:1dff:fee0:7ec6","IP6Local":"fe80::7204:1dff:fee0:7ec6%st1","Webserver":2,"HTTP_API":1,"WifiConfig":4,"WifiPower":15.0}}
13:51:58.422 MQT: garage/stat/Sensor/STATUS6 = {"StatusMQT":{"MqttHost":"192.168.1.3","MqttPort":1883,"MqttClientMask":"DVES_%06X","MqttClient":"DVES_E07EC6","MqttUser":"DVES_USER","MqttCount":2,"MAX_PACKET_SIZE":1200,"KEEPALIVE":30,"SOCKET_TIMEOUT":4}}
13:51:58.427 MQT: garage/stat/Sensor/STATUS7 = {"StatusTIM":{"UTC":"2024-04-12T12:51:58Z","Local":"2024-04-12T13:51:58","StartDST":"2024-03-31T02:00:00","EndDST":"2024-10-27T03:00:00","Timezone":"+01:00","Sunrise":"06:04","Sunset":"19:37"}}
13:51:58.435 MQT: garage/stat/Sensor/STATUS10 = {"StatusSNS":{"Time":"2024-04-12T13:51:58","BME280":{"Temperature":20.3,"Humidity":55.8,"DewPoint":11.1,"Pressure":1030.5},"VINDRIKTNING":{"PM2.5":5},"SGP40":{"Raw":30643,"AirQuality":127,"aHumidity":9.9012},"PressureUnit":"hPa","TempUnit":"C"}}
13:51:58.442 MQT: garage/stat/Sensor/STATUS11 = {"StatusSTS":{"Time":"2024-04-12T13:51:58","Uptime":"6T01:09:17","UptimeSec":522557,"Heap":80,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":27,"MqttCount":2,"Berry":{"HeapUsed":3,"Objects":33},"Wifi":{"AP":1,"SSId":"Springfield","BSSId":"74:83:C2:CD:BF:62","Channel":10,"Mode":"11n","RSSI":86,"Signal":-57,"LinkCount":1,"Downtime":"0T00:00:03"}}}
[ ] Set weblog to 4 and then, when you experience your issue, provide the output of the Console log:
Console output here:
### TO REPRODUCE
_Steps to reproduce the behavior:_
### EXPECTED BEHAVIOUR
_A clear and concise description of what you expected to happen._
### SCREENSHOTS
_If applicable, add screenshots to help explain your problem._
### ADDITIONAL CONTEXT
_Add any other context about the problem here._
In the MQT-string, the correct value's are pressent. Exposing AirQuality or all 3 to Domoticz would be the preferred solution.
**(Please, remember to close the issue when the problem has been addressed)**
PROBLEM DESCRIPTION
A clear and concise description of what the problem is. The value send to Domoticz via the Domoticz config / idx AirQuality is the SGP40 Raw sensor value. Domoticz can't proces this value into something sensible. The correct value should be SGP40 Air quality.
REQUESTED INFORMATION
Make sure your have performed every step and checked the applicable boxes before submitting your issue. Thank you!
Backlog Template; Module; GPIO 255
:Backlog Rule1; Rule2; Rule3
:weblog
to 4 and then, when you experience your issue, provide the output of the Console log: