-
Notifications
You must be signed in to change notification settings - Fork 4
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
Energy reporting #6
Comments
In case anyone wants to experiment with that, change MQTT template database lines from: |
Latest Domoticz 2023 beta 15526 now supports Watt-hour and Watt-minute so division is no longer necessary templates are updated at commit |
Hi Alexander, Just to clarify..... The question I have about this: Thanks for your answer. EDIT UPDATE 13-10-2023: Since BETA is not my thing I need to wait for next stable release of Domoticz |
Yes, the type will be kWh from.
Thank you for testing, the next stable Domoticz will has got several other MQTT enhancements also, such as dimmer device status update, Shelly TRV support and Gen2 cover device support. |
All values reported by the Shellies with Watt-minute will be incorrect on the Domoticz side, until division implemented in the templates.
If you check templates in database, you can see:
"val_tpl": "{{(value|float/60)|round(2)}}"}
Which is needed for conversion to Watthour (or kWh). Until it will be supported in Domoticz, the energy devices will be disabled by default, but can be enabled manually if you wish on the Domoticz device list, as it is added anyway.
The text was updated successfully, but these errors were encountered: