gaetancollaud / digitalstrom-mqtt

Bridge between digitalSTROM and MQTT
GNU Affero General Public License v3.0
23 stars 4 forks source link

Cannot setup sensor for total Consumptipn #18

Closed djacid closed 3 years ago

djacid commented 3 years ago
Screenshot 2021-08-07 at 11 37 06 PM

Hello, as you can see for some reason consumption is not working, and returns only the number 1. Secondly, there is no "chambres" word in the tree.

gaetancollaud commented 3 years ago

Hello,

This software uses the property tree to get those values, can you show me what's in there for you ? It's in the system tab.

Example: Screenshot from 2021-08-09 09-51-57

The name should be defined. And normally the consumptionW in MQTT should matches the powerConsumption of the tree.

djacid commented 3 years ago
Screenshot 2021-08-10 at 12 16 16 AM Screenshot 2021-08-10 at 12 16 47 AM Screenshot 2021-08-10 at 12 17 15 AM Screenshot 2021-08-10 at 12 17 44 AM Screenshot 2021-08-10 at 12 18 37 AM Screenshot 2021-08-10 at 12 19 12 AM
gaetancollaud commented 3 years ago

This one is fishy:

It has no name and not a lot of info. Do you know what this device is? Maybe it breaks the software for some reason.

Do you have anything in the log of the digitalstrom-mqtt application ? Can you put the LOG_LEVEL to DEBUG or TRACE and send me the log please. More info on how to configure here: https://github.com/gaetancollaud/digitalstrom-mqtt#configuration

gaetancollaud commented 3 years ago

I released the version 1.4.2 which remove the unnamed circuits: https://github.com/gaetancollaud/digitalstrom-mqtt/releases can you test it

djacid commented 3 years ago

I don't know what this devis is. I think is there by mistake and I don't know how I could delete this. I have installed your component via docker-compose and it seems that docker-compose cannot see that there is a new version of your component.

djacid commented 3 years ago

Ok I found a way to update the docker image. Now it seems that the issue has fixed.

Screenshot 2021-08-11 at 8 29 13 PM

Thank you for this update!

djacid commented 3 years ago

After this update, I noticed an issue. Now, if I push the wall switch-button, mqtt does not update the status of the light. For example, if I turn on the lights manually with the wall switch, mqtt does not update the status of this light as turned on

djacid commented 3 years ago

By downgrading back to 1.4.1 version, this bug seems to be fixed. There is also something stange. After downgrading, dsmeters are still appearing correctly. I think database has stored the meters from the latest version and keep them after downgrading. Now, everything is working as it should.

gaetancollaud commented 3 years ago

The only change was a test to remove the unnamed circuit. I don't think downgrading would help. There is another issue maybe.

For the update, it's based on the scene change. Because there is no API to see if an output changes. I have to listen to scene changes and update all the devices of the concerned room...

Since the issue seems resolved I will close the issue. Please open a new one if you find something else.