Hello,
For sensors (temperatures, power...), looks Domoticz logs/graphs does not always show reliable data.
Probably because some underlying technologies does not always allow modules to sent measures themselves, depending on configuration parameters. So looks stats only shows data retrieved every 5mn (or only last received data).
For some measurements with slow variations like temperature, that's not a big issue. But for some others like power usage, it is!
For instance, my Qubino smart-meter updates global voltage/amps/power depending on configurable % change since last update. Problem is current log strategy does not allow to get reliable peak power data for instance! This can be a problem, see later...
To get this kind of figure, for now (current stable), you have to setup a virtual device sensor that'll be driven by a device script able to catch each update (maybe with some filtering to minimize DB growth) to feed data to the virtual sensor.
=> Logged min/max data, especially for electrical (or anything that can show huge and quick variations) sensors, should not use 1 data per 5mn time-slice but recorded real min/max (and, why not, true average computed from time-slice received/requested data). Not only from data requested by Domoticz but also from device self updates (for technologies that allows this, like z-wave, with configuration parameters).
At the moment, the observed difference can be very significant: Yesterday, direct sensor log by Domoticz was showing max power usage of 7kW while virtual sensor recorded 9.5kW: This was exceeding a bit my electricity provider contract (9kW max), something I was not able to see until now, for a short time.
Sensors update
Use this forum to discuss possible implementation of a new feature before opening a ticket.
A developer shall edit the topic title with "[xxx]" where xxx is the id of the accompanying tracker id.
Duplicate posts about the same id. +1 posts are not allowed.
A developer shall edit the topic title with "[xxx]" where xxx is the id of the accompanying tracker id.
Duplicate posts about the same id. +1 posts are not allowed.
Moderators: leecollings, remb0
Jump to
- General
- ↳ News & Updates
- ↳ General Discussion
- ↳ Bugs and Problems
- ↳ Other questions and discussions
- ↳ Suggestions
- Domoticz
- ↳ Installation, Compiling, Permissions, Security and Starting
- ↳ Cameras
- ↳ Switches and Scenes
- ↳ Utility
- ↳ Temperature and Weather
- ↳ Heating/cooling
- ↳ OpenTherm gateway
- ↳ Evohome
- ↳ Third party and supplementary tools
- ↳ Android
- ↳ iOS
- ↳ Windows
- ↳ Kodi (XBMC)
- ↳ Domoboard
- ↳ Dashticz
- ↳ Bugs
- ↳ Feature requests
- ↳ How-tos
- ↳ Node-RED
- ↳ Design, usability and languages
- ↳ Language / Translation
- Scripting & automation
- ↳ dzVents
- ↳ Bugs
- ↳ Examples & Solutions
- ↳ LUA
- ↳ Bash / PowerShell / Batch etc.
- ↳ Blockly
- ↳ Python
- ↳ PHP and all others
- Hardware and Protocols
- ↳ MQTT Auto Discovery
- ↳ Z-Wave
- ↳ Device information
- ↳ Zigbee
- ↳ Speech & Voice Systems
- ↳ 433 & 868 transceiver
- ↳ RFLink Transceiver
- ↳ Rfxcom Transceiver
- ↳ DIY Hardware and Protocols
- ↳ ESP8266
- ↳ PiFace
- ↳ Raspberry Pi GPIO ( WiringPi )
- ↳ MySensors
- ↳ 1-wire
- ↳ Others
- Community
- ↳ Sales, Deals and Bargains..
- ↳ Deals & bargains
- ↳ Forum feedback
- ↳ Show your projects
- ↳ Projects on other sites