-
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
Can't computed energy Shelly Plus 1 PM #9
Comments
I cant see any difference in the important parameters. Maybe if you enable Domoticz debug log and see what kind of devices it creates for you, it will help. Shelly Dimmer: Shelly Plus1PM: |
Sorry, i forget to tell you... for my Shelly Dimmer, i use the old plug-in Shelly MQTT for Domoticz... |
The old plugin creates devices for itself, but Domoticz MQTT AD hardware creates the devices in this case. |
Thanks... But i think is not a problem from Domoticz... In SQL (DeviceStatus) my Shelly Plus 1 PM is Type 248 and subtype 1 and option is "1;" |
MQTT config documentation for "Sensor" type: I see 3 point where we can tell Domoticz which kind of sensor we want: And these are the standard device types: Maybe you can try alter class or state_class to "total_increasing" but as i see in the Domoticz source code, it is only watching for the unit of measurement and creates a specific kind of device if it is "W". |
Ok many thanks, maybe it's the solution... I have changed the template ... in "mqtt_templates_gen2.txt" ans i have deleted in domoticz the device... and i haved exec "python3 shellyteacher4domo.py" is it good ? (new device, but same problem and i think it's not with the new template) |
The process is good. You can enable debug in setup.py to see the sent mqtt payloads.. but do not forget to disable debug, after checking. |
243/29 is a General/Electric (Instant+Counter) device which has a unit of kWh this is created by Domoticz when unit is "kWh" .. and only this kind of device has the option for "Compute". 248/1 is a Usage / Electric device is created by Domoticz MQTT AD when unit is "W" Most of Shelly devices returns watt-minutes, which needs to be translated to kwh first, but it is currently not supported in Domozicz, see issue: |
Hi,
Sorry for my english, but i can't computed energy for my shelly plus 1
and this is my Shelly Dimmer and i have the possibility to computed energy
Did you have an idea?
Many Thanks
The text was updated successfully, but these errors were encountered: