Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Historical sensor information error when connected multiple sensors #24

Open
tywtyw2002 opened this issue Dec 20, 2020 · 2 comments
Open
Labels
bug Something isn't working

Comments

@tywtyw2002
Copy link

Describe The Bug:
Historical sensor information error when connected to multiple temp sensors.

I have connected 2 temp sensors on one Tasmota ESP8266 board for the HVAC air return/supply mointer.
1 x DS18B20
1 x AM2301

The air return temp should be around 20-22 degrees and the air supply should be above 30 degrees when the furnace running.
In the eve app, it should display the Historical temp graph for each sensor separately, but the app displays both sensors with the same historical graph.

IMG_6D8AD51A63E1-1

homebridge-tasmota sensor log data. It seems like only one sensor has log data.

{"firstEntry":0,"lastEntry":33,"usedMemory":33,"refTime":630134441,"initialTime":1608441641,"history":["noValue",{"time":1608441641,"setRefTime":1},{"temp":20.93,"pressure":null,"humidity":29.73,"time":1608441641},{"temp":20.5,"pressure":null,"humidity":27.1,"time":1608442241},{"temp":24.13,"pressure":null,"humidity":21.85,"time":1608442841},{"temp":30.5,"pressure":null,"humidity":12.9,"time":1608443441},{"temp":24.25,"pressure":null,"humidity":23.55,"time":1608444041},{"temp":21.18,"pressure":null,"humidity":30.8,"time":1608444641},{"temp":20.75,"pressure":null,"humidity":31.85,"time":1608445241},{"temp":24.38,"pressure":null,"humidity":23.3,"time":1608445841},{"temp":30.5,"pressure":null,"humidity":12.8,"time":1608446441},{"temp":25.9,"pressure":null,"humidity":19.95,"time":1608447041},{"temp":24.53,"pressure":null,"humidity":22.25,"time":1608447641},{"temp":21.83,"pressure":null,"humidity":28.55,"time":1608448241},{"temp":24.45,"pressure":null,"humidity":23.65,"time":1608448841},{"temp":30.5,"pressure":null,"humidity":12.55,"time":1608449441},{"temp":25.88,"pressure":null,"humidity":19.45,"time":1608450041},{"temp":24.38,"pressure":null,"humidity":22.3,"time":1608450641},{"temp":23.65,"pressure":null,"humidity":23.6,"time":1608451241},{"temp":30.05,"pressure":null,"humidity":13.4,"time":1608451841},{"temp":25.38,"pressure":null,"humidity":21.55,"time":1608452441},{"temp":21.53,"pressure":null,"humidity":29.9,"time":1608453041},{"temp":21.13,"pressure":null,"humidity":29.85,"time":1608453641},{"temp":20.9,"pressure":null,"humidity":30.55,"time":1608454241},{"temp":30.05,"pressure":null,"humidity":13.35,"time":1608454841},{"temp":26.4,"pressure":null,"humidity":18.65,"time":1608455441},{"temp":23.28,"pressure":null,"humidity":25.1,"time":1608456041},{"temp":21,"pressure":null,"humidity":30.8,"time":1608456641},{"temp":22.33,"pressure":null,"humidity":28.4,"time":1608457241},{"temp":30.2,"pressure":null,"humidity":12.85,"time":1608457841},{"temp":25.6,"pressure":null,"humidity":19.7,"time":1608458441},{"temp":24,"pressure":null,"humidity":22.8,"time":1608459041},{"temp":23,"pressure":null,"humidity":24.4,"time":1608459641},{"temp":21.1,"pressure":null,"humidity":29.7,"time":1608460241}]}

@tywtyw2002 tywtyw2002 added the bug Something isn't working label Dec 20, 2020
@tywtyw2002
Copy link
Author

tywtyw2002 commented Dec 20, 2020

debug log

[12/20/2020, 4:15:07 AM] [Tasmota] **Fakegato-timer: emptyData ** CSensor BME280 Temperature
[12/20/2020, 4:15:07 AM] [Tasmota] First entry CSensor_02F6EB DS18B20 Id: 0
[12/20/2020, 4:15:07 AM] [Tasmota] Last entry CSensor_02F6EB DS18B20 Id: 25
[12/20/2020, 4:15:07 AM] [Tasmota] Used memory CSensor_02F6EB DS18B20 Id: 25
[12/20/2020, 4:15:07 AM] [Tasmota] 116 CSensor_02F6EB DS18B20 Id: 1253000000000000a9168f25 03 0102 0102 0202 2600c00f00000000000000000101
[12/20/2020, 4:15:07 AM] [Tasmota] **Fakegato-timer: emptyData ** CSensor_02F6EB DS18B20 Id
2020-12-20T11:15:07.374Z Tasmota:sensor Updating fakegato 'Garage Temperature:Current Temperature' { temp: 8.5, pressure: 912, humidity: 66.1 }
[12/20/2020, 4:15:07 AM] [Tasmota] **Fakegato-timer: addData  CSensor BME280 Temperature { temp: 8.5, pressure: 912, humidity: 66.1, time: 1608462907 }  immediate:  false
2020-12-20T11:15:07.433Z Tasmota:sensor Updating fakegato 'Air Return:Current Temperature' { temp: 18.8, pressure: NaN, humidity: 26.7 }
[12/20/2020, 4:15:07 AM] [Tasmota] **Fakegato-timer: addData  CSensor_02F6EB DS18B20 Id { temp: 18.8, pressure: NaN, humidity: 26.7, time: 1608462907 }  immediate:  false
2020-12-20T11:15:07.436Z Tasmota:sensor Updating fakegato 'Air Supply:Current Temperature' { temp: 19, pressure: NaN, humidity: 26.7 }
[12/20/2020, 4:15:07 AM] [Tasmota] **Fakegato-timer: addData  CSensor_02F6EB DS18B20 Id { temp: 19, pressure: NaN, humidity: 26.7, time: 1608462907 }  immediate:  false
[12/20/2020, 4:15:07 AM] [Tasmota] ** Fakegato-storage write FS file: /opt/homebridge/data/Rorqual-in-yeg_CSensor_02F6EB DS18B20 Id_persist.json "firstEntry":0,"lastEntry":37,"usedMemory":37,"refTime":630134441,"initialTime":

@NorthernMan54
Copy link
Owner

Unfortunately this is a limitation of the historical data app, it expects each accessory to only have a single sensor of each type. Besides splitting your sensors up to multiple devices not much can be done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants