gaetancollaud / digitalstrom-mqtt

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

doesn't get any topic to my mqtt server #6

Closed holli73 closed 3 years ago

holli73 commented 3 years ago

hello,

i tried but i do get this error's shown on std. out and no messages on my mqtt server:

holli@ds-vdcd:~/BUILD/dss-mqtt$ ./digitalstrom-mqtt
2021-04-07T22:22:35+02:00 INF String digitalstrom MQTT!
2021-04-07T22:22:35+02:00 INF Staring digitalstrom
2021-04-07T22:22:35+02:00 INF Register subscription and listen to events
2021-04-07T22:22:35+02:00 INF MQTT Connected
2021-04-07T22:22:35+02:00 INF Reloading circuits
2021-04-07T22:22:35+02:00 ERR MQTT connection lost error="read tcp 192.168.245.66:38208->192.168.254.11:1883: read: connection reset by peer"
2021-04-07T22:22:35+02:00 INF MQTT Connected
2021-04-07T22:22:35+02:00 ERR MQTT connection lost error=EOF
2021-04-07T22:22:35+02:00 INF MQTT Connected
2021-04-07T22:22:35+02:00 ERR MQTT connection lost error="read tcp 192.168.245.66:38218->192.168.254.11:1883: read: connection reset by peer"
2021-04-07T22:22:35+02:00 INF MQTT Connected
2021-04-07T22:22:35+02:00 ERR MQTT connection lost error="write tcp 192.168.245.66:38220->192.168.254.11:1883: write: connection reset by peer"
2021-04-07T22:22:35+02:00 INF MQTT Connected
2021-04-07T22:22:35+02:00 ERR MQTT connection lost error=EOF
2021-04-07T22:22:35+02:00 INF Error error="Error with digitalstrom API: Missing parameter dsuid"
2021-04-07T22:22:35+02:00 INF MQTT Connected
2021-04-07T22:22:35+02:00 INF Error error="Error with digitalstrom API: Missing parameter dsuid"
2021-04-07T22:22:35+02:00 INF Error error="Error with digitalstrom API: Missing parameter dsuid"
2021-04-07T22:22:35+02:00 INF Error error="Error with digitalstrom API: Missing parameter dsuid"
2021-04-07T22:22:35+02:00 INF Error error="Error with digitalstrom API: Missing parameter dsuid"
2021-04-07T22:22:35+02:00 INF Error error="Error with digitalstrom API: Missing parameter dsuid"
2021-04-07T22:22:35+02:00 INF Error error="Error with digitalstrom API: Missing parameter dsuid"
2021-04-07T22:22:35+02:00 INF Error error="Error with digitalstrom API: Missing parameter dsuid"
2021-04-07T22:22:36+02:00 INF Event received, updating devices SceneId=5 ZoneId=9
2021-04-07T22:22:36+02:00 INF New value channel=brightness device=GangBad newValue=99.6078431372549
2021-04-07T22:22:37+02:00 INF Event received, updating devices SceneId=5 ZoneId=12514
2021-04-07T22:22:37+02:00 ERR Unable to udpate device error="Error with digitalstrom API: Could not find node named '/apartment/zones/zone12514/devices/303505d7f8000000000017c00006f58b00/status/outputs/heatingPower/targetValue'" device=hz-infrarot-gang-og
2021-04-07T22:22:37+02:00 INF New value channel=brightness device=GangSchlafZimmer newValue=99.6078431372549
2021-04-07T22:22:38+02:00 ERR Unable to udpate device error="Error with digitalstrom API: Could not find node named '/apartment/zones/zone12514/devices/303505d7f8000000000017c00006f58b00/status/outputs/heatingPower/targetValue'" device=hz-infrarot-gang-og
2021-04-07T22:22:39+02:00 ERR Unable to udpate device error="Error with digitalstrom API: Could not find node named '/apartment/zones/zone12514/devices/303505d7f8000000000017c00006f58b00/status/outputs/heatingPower/targetValue'" device=hz-infrarot-gang-og
2021-04-07T22:22:46+02:00 INF Event received, updating devices SceneId=5 ZoneId=5
2021-04-07T22:22:46+02:00 ERR Unable to udpate device error="Error with digitalstrom API: Could not find node named '/apartment/zones/zone5/devices/303505d7f8000000000017c00006f4ac00/status/outputs/heatingPower/targetValue'" device=hz-infrarot-bad-og
2021-04-07T22:22:46+02:00 ERR Unable to udpate device error="Error with digitalstrom API: Could not find node named '/apartment/zones/zone5/devices/303505d7f800000000000f8000059e0b00/status/outputs/shadePositionOutside/targetValue'" device=bad-og-raffstore
2021-04-07T22:22:46+02:00 ERR Unable to udpate device error="Error with digitalstrom API: Could not find node named '/apartment/zones/zone5/devices/303505d7f800000000000f8000059e0b00/status/outputs/shadeOpeningAngleOutside/targetValue'" device=bad-og-raffstore
2021-04-07T22:22:46+02:00 ERR Unable to udpate device error="Error with digitalstrom API: Could not find node named '/apartment/zones/zone5/devices/302ed89f43f0000000000e80000d3e3400/status/outputs/heatingPower/targetValue'" device=bad-fb-motor
2021-04-07T22:22:46+02:00 ERR Unable to udpate device error="Error with digitalstrom API: Could not find node named '/apartment/zones/zone5/devices/303505d7f8000000000017c00006f68800/status/outputs/powerLevel/targetValue'" device=bad-luefter-og
2021-04-07T22:22:46+02:00 INF New value channel=brightness device=bad-duschkopf newValue=100
2021-04-07T22:22:46+02:00 INF New value channel=brightness device=bad-li-admin newValue=100
2021-04-07T22:22:46+02:00 INF Event received, updating devices SceneId=13 ZoneId=5
2021-04-07T22:22:46+02:00 ERR Unable to udpate device error="Error with digitalstrom API: Could not find node named '/apartment/zones/zone5/devices/303505d7f8000000000017c00006f4ac00/status/outputs/heatingPower/targetValue'" device=hz-infrarot-bad-og
2021-04-07T22:22:46+02:00 ERR Unable to udpate device error="Error with digitalstrom API: Could not find node named '/apartment/zones/zone5/devices/303505d7f800000000000f8000059e0b00/status/outputs/shadePositionOutside/targetValue'" device=bad-og-raffstore
2021-04-07T22:22:46+02:00 ERR Unable to udpate device error="Error with digitalstrom API: Could not find node named '/apartment/zones/zone5/devices/303505d7f800000000000f8000059e0b00/status/outputs/shadeOpeningAngleOutside/targetValue'" device=bad-og-raffstore
2021-04-07T22:22:46+02:00 ERR Unable to udpate device error="Error with digitalstrom API: Could not find node named '/apartment/zones/zone5/devices/302ed89f43f0000000000e80000d3e3400/status/outputs/heatingPower/targetValue'" device=bad-fb-motor
2021-04-07T22:22:46+02:00 ERR Unable to udpate device error="Error with digitalstrom API: Could not find node named '/apartment/zones/zone5/devices/303505d7f8000000000017c00006f68800/status/outputs/powerLevel/targetValue'" device=bad-luefter-og
2021-04-07T22:22:48+02:00 ERR Unable to udpate device error="Error with digitalstrom API: Could not find node named '/apartment/zones/zone5/devices/303505d7f8000000000017c00006f4ac00/status/outputs/heatingPower/targetValue'" device=hz-infrarot-bad-og
2021-04-07T22:22:48+02:00 ERR Unable to udpate device error="Error with digitalstrom API: Could not find node named '/apartment/zones/zone5/devices/303505d7f800000000000f8000059e0b00/status/outputs/shadePositionOutside/targetValue'" device=bad-og-raffstore
2021-04-07T22:22:48+02:00 ERR Unable to udpate device error="Error with digitalstrom API: Could not find node named '/apartment/zones/zone5/devices/303505d7f800000000000f8000059e0b00/status/outputs/shadeOpeningAngleOutside/targetValue'" device=bad-og-raffstore
2021-04-07T22:22:48+02:00 ERR Unable to udpate device error="Error with digitalstrom API: Could not find node named '/apartment/zones/zone5/devices/302ed89f43f0000000000e80000d3e3400/status/outputs/heatingPower/targetValue'" device=bad-fb-motor
2021-04-07T22:22:48+02:00 ERR Unable to udpate device error="Error with digitalstrom API: Could not find node named '/apartment/zones/zone5/devices/303505d7f8000000000017c00006f68800/status/outputs/powerLevel/targetValue'" device=bad-luefter-og
2021-04-07T22:22:48+02:00 ERR Unable to udpate device error="Error with digitalstrom API: Could not find node named '/apartment/zones/zone5/devices/303505d7f8000000000017c00006f4ac00/status/outputs/heatingPower/targetValue'" device=hz-infrarot-bad-og
2021-04-07T22:22:48+02:00 ERR Unable to udpate device error="Error with digitalstrom API: Could not find node named '/apartment/zones/zone5/devices/303505d7f800000000000f8000059e0b00/status/outputs/shadePositionOutside/targetValue'" device=bad-og-raffstore
2021-04-07T22:22:48+02:00 ERR Unable to udpate device error="Error with digitalstrom API: Could not find node named '/apartment/zones/zone5/devices/303505d7f800000000000f8000059e0b00/status/outputs/shadeOpeningAngleOutside/targetValue'" device=bad-og-raffstore
2021-04-07T22:22:48+02:00 ERR Unable to udpate device error="Error with digitalstrom API: Could not find node named '/apartment/zones/zone5/devices/302ed89f43f0000000000e80000d3e3400/status/outputs/heatingPower/targetValue'" device=bad-fb-motor
2021-04-07T22:22:48+02:00 ERR Unable to udpate device error="Error with digitalstrom API: Could not find node named '/apartment/zones/zone5/devices/303505d7f8000000000017c00006f68800/status/outputs/powerLevel/targetValue'" device=bad-luefter-og

why is it connecting to the local box again? i do have vdcd (vdsm on dssip) running on the same box - is this a problem? i have apx. 80 zigbee lights and some esp8266 connected through vdcd as well as 20++ sensors (temp) - on a dss device (vdcd) - i have apx. 2-3 seconds delay till vdcd get's the notification - if i use GE devices directly there is no such big delay - so i was wondering - if i could get the event faster with your mqtt solution.

gaetancollaud commented 3 years ago

Hi,

It seems like the MQTT connexion is not stable... Not sure why. Do you know docker ? Could you maybe try with the docker-compose provided in the repository. It will bootstrap an MQTT broker for you.

You're not the first to report an error with the message Error error="Error with digitalstrom API: Missing parameter dsuid". Could you please use the latest version and put this in the config and post the output again?

LOG_LEVEL=DEBUG
holli73 commented 3 years ago

hello,

yes - i do know docker - but i try to avoid it - i do run all my software on physical /vm hosted hosts and i hate all that port forwarding /environment variable settings,... i have most on x64 vm's and are dedicated for just this one task - so any upgrade of the os will not bring down my complete house and i'm more flexible - it makes no sense for me having dedicated vm's and then again run within the kvm's docker...

i used the latest release available here - attached is the debug output - if i run mqtt client locally it connects without an issue:

holli@ds-vdcd:~/BUILD/dss-mqtt$ mosquitto_sub -h webserver -p 1883 -t '/#' -v
/esp8266-db-lichterkette/status/LWT Connected
/eg-unter-balkon/status/LWT Connected
/eg-hz-verteiler-licht/status/LWT Connected
/eg-wc/status/LWT Connected
/og-vorderhaus/status/LWT Connected
/esp8266-HuehnerStall/status/LWT Connected
/esp8266-og-lift/status/LWT Connection Lost
/esp8266-og-sauna-licht/status/LWT Connection Lost
/esp8266-db-lichterkette/LichterKetteDbOgEg/RelaisState 0
/esp8266-HuehnerStall/TuerAuf/RelaisState 1
/eg-hz-verteiler-licht/licht-ausgang/bwm 0
/esp8266-HuehnerStall/TuerZu/RelaisState 1
/eg-hz-pi/temp/288B01AE05000048 36.2
/og-temp/temp/283248AD0500004B 23.06
/og-temp/temp/286A08AE050000A5 10.00
/og-temp/temp/28C346AD050000AC 23.06
/db-weather-pi/28BD2CAE05000003 14.31
/db-weather-pi/28DBBEAC05000041 18.06
/og-temp/temp/289FB2AD05000046 25.31
/eg-unter-balkon/licht-unter-balkon/bwm 0
/eg-unter-balkon/light-relais/relais 1
/eg-wc/eg-wc/bwm 0
/esp8266-db-lichterkette/LichterKetteDbOgEg/RelaisState 0
/esp8266-HuehnerStall/TuerAuf/RelaisState 1
/eg-hz-verteiler-licht/licht-ausgang/bwm 0
/esp8266-HuehnerStall/TuerZu/RelaisState 1
/eg-hz-pi/temp/288B01AE05000048 36.4
/eg-unter-balkon/licht-unter-balkon/bwm 0
/eg-unter-balkon/light-relais/relais 1
/eg-wc/eg-wc/bwm 0
/og-vorderhaus/temp-kueche-vorderhaus/temp 11.50
/db-weather-pi/28BD2CAE05000003 14.44
/og-temp/temp/285C72AE0500002A 23.62
/db-weather-pi/28DBBEAC05000041 18.25
/esp8266-db-lichterkette/LichterKetteDbOgEg/RelaisState 0
/og-temp/temp/283248AD0500004B 23.00
/og-temp/temp/286A08AE050000A5 10.06
/og-temp/temp/283AB0AD05000072 21.12
/og-temp/temp/28B60DAE050000CE 25.81
/esp8266-HuehnerStall/TuerAuf/RelaisState 1
/eg-hz-verteiler-licht/licht-ausgang/bwm 0
/esp8266-HuehnerStall/TuerZu/RelaisState 1
/og-temp/temp/289FB2AD05000046 25.38

thanks holli dbg.txt

holli73 commented 3 years ago

hello,

i did start the mqtt broker in verbose mode as well and it looks like:

...
1617872375: Sending SUBACK to digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375: Received SUBSCRIBE from digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375: Invalid subscription string from 192.168.245.66, disconnecting.
1617872375: Socket error on client digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3, disconnecting.
1617872375: New connection from 192.168.245.66 on port 1883.
...

1617872375: Received SUBSCRIBE from digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 1617872375: Invalid subscription string from 192.168.245.66, disconnecting.

might be the cause for the DISCONNECT...

1617872375: New connection from 192.168.245.66 on port 1883.
1617872375: New client connected from 192.168.245.66 as digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 (p2, c1, k30).
1617872375: No will message specified.
1617872375: Sending CONNACK to digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 (0, 0)
1617872375: Received SUBSCRIBE from digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375:     digitalstrom/devices/hz-infrarot-ez-og/heatingPower/command (QoS 0)
1617872375: digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 0 digitalstrom/devices/hz-infrarot-ez-og/heatingPower/command
1617872375: Sending SUBACK to digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375: Received SUBSCRIBE from digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375:     digitalstrom/devices/hz-infrarot-wz-balkon-og/heatingPower/command (QoS 0)
1617872375: digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 0 digitalstrom/devices/hz-infrarot-wz-balkon-og/heatingPower/command
1617872375: Sending SUBACK to digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375: Received SUBSCRIBE from digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375:     digitalstrom/devices/hz-infrarot-kue-og/heatingPower/command (QoS 0)
1617872375: digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 0 digitalstrom/devices/hz-infrarot-kue-og/heatingPower/command
1617872375: Sending SUBACK to digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375: Received SUBSCRIBE from digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375:     digitalstrom/devices/hz-infrarot-wz-og/heatingPower/command (QoS 0)
1617872375: digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 0 digitalstrom/devices/hz-infrarot-wz-og/heatingPower/command
1617872375: Sending SUBACK to digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375: Received SUBSCRIBE from digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375:     digitalstrom/devices/hz-infrarot-kati-fenster-og_kaputt/heatingPower/command (QoS 0)
1617872375: digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 0 digitalstrom/devices/hz-infrarot-kati-fenster-og_kaputt/heatingPower/command
1617872375: Sending SUBACK to digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375: Received SUBSCRIBE from digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375:     digitalstrom/devices/hz-infrarot-michi-eingang-og/heatingPower/command (QoS 0)
1617872375: digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 0 digitalstrom/devices/hz-infrarot-michi-eingang-og/heatingPower/command
1617872375: Sending SUBACK to digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375: Received SUBSCRIBE from digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375:     digitalstrom/devices/hz-infrarot-kati-eingang-og/heatingPower/command (QoS 0)
1617872375: digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 0 digitalstrom/devices/hz-infrarot-kati-eingang-og/heatingPower/command
1617872375: Sending SUBACK to digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375: Received SUBSCRIBE from digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375:     digitalstrom/devices/hz-infrarot-michi-balkon-og/heatingPower/command (QoS 0)
1617872375: digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 0 digitalstrom/devices/hz-infrarot-michi-balkon-og/heatingPower/command
1617872375: Sending SUBACK to digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375: Received SUBSCRIBE from digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375:     digitalstrom/devices/hz-infrarot-bad-og/heatingPower/command (QoS 0)
1617872375: digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 0 digitalstrom/devices/hz-infrarot-bad-og/heatingPower/command
1617872375: Sending SUBACK to digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375: Received SUBSCRIBE from digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375:     digitalstrom/devices/hz-infrarot-sz-og/heatingPower/command (QoS 0)
1617872375: digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 0 digitalstrom/devices/hz-infrarot-sz-og/heatingPower/command
1617872375: Sending SUBACK to digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375: Received SUBSCRIBE from digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375:     digitalstrom/devices/sz-og-raffstore/shadePositionOutside/command (QoS 0)
1617872375: digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 0 digitalstrom/devices/sz-og-raffstore/shadePositionOutside/command
1617872375: Sending SUBACK to digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375: Received SUBSCRIBE from digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375:     digitalstrom/devices/sz-og-raffstore/shadeOpeningAngleOutside/command (QoS 0)
1617872375: digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 0 digitalstrom/devices/sz-og-raffstore/shadeOpeningAngleOutside/command
1617872375: Sending SUBACK to digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375: Received SUBSCRIBE from digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375: Invalid subscription string from 192.168.245.66, disconnecting.
1617872375: Socket error on client digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3, disconnecting.
1617872375: New connection from 192.168.245.66 on port 1883.
1617872375: New client connected from 192.168.245.66 as digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 (p2, c1, k30).
1617872375: No will message specified.
1617872375: Sending CONNACK to digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 (0, 0)
1617872375: Socket error on client digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3, disconnecting.
1617872375: New connection from 192.168.245.66 on port 1883.
1617872375: New connection from 192.168.244.11 on port 1883.
1617872375: New client connected from 192.168.244.11 as mosqpub|24328-rasp-db-w (p2, c1, k60).
1617872375: No will message specified.
1617872375: Sending CONNACK to mosqpub|24328-rasp-db-w (0, 0)
1617872375: Received PUBLISH from mosqpub|24328-rasp-db-w (d0, q0, r0, m0, '/db-weather-pi/28BD2CAE05000003', ... (5 bytes))
1617872375: Sending PUBLISH to mqtt_8a0a1cb0.de66c (d0, q0, r0, m0, '/db-weather-pi/28BD2CAE05000003', ... (5 bytes))
1617872375: Received DISCONNECT from mosqpub|24328-rasp-db-w
1617872375: Client mosqpub|24328-rasp-db-w disconnected.
1617872375: Received PUBLISH from esp8266-db-lichterkette (d0, q0, r0, m0, '/esp8266-db-lichterkette/LichterKetteDbOgEg/RelaisState', ... (1 bytes))
1617872375: Sending PUBLISH to esp8266-db-lichterkette (d0, q0, r0, m0, '/esp8266-db-lichterkette/LichterKetteDbOgEg/RelaisState', ... (1 bytes))
1617872375: Sending PUBLISH to mqtt_8a0a1cb0.de66c (d0, q0, r0, m0, '/esp8266-db-lichterkette/LichterKetteDbOgEg/RelaisState', ... (1 bytes))
1617872375: New client connected from 192.168.245.66 as digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 (p2, c1, k30).
1617872375: No will message specified.
1617872375: Sending CONNACK to digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 (0, 0)
1617872375: Received SUBSCRIBE from digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375:     digitalstrom/devices/db-draussen-licht-edv/brightness/command (QoS 0)
1617872375: digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 0 digitalstrom/devices/db-draussen-licht-edv/brightness/command
1617872375: Sending SUBACK to digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375: Received SUBSCRIBE from digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375:     digitalstrom/devices/michi-balkon-li/brightness/command (QoS 0)
1617872375: digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 0 digitalstrom/devices/michi-balkon-li/brightness/command
1617872375: Sending SUBACK to digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375: Socket error on client digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3, disconnecting.
1617872375: New connection from 192.168.245.66 on port 1883.
1617872375: New client connected from 192.168.245.66 as digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 (p2, c1, k30).
1617872375: No will message specified.
1617872375: Sending CONNACK to digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 (0, 0)
1617872375: Received SUBSCRIBE from digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375:     digitalstrom/devices/michi-li-admin/brightness/command (QoS 0)
1617872375: digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 0 digitalstrom/devices/michi-li-admin/brightness/command
1617872375: Sending SUBACK to digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375: Received SUBSCRIBE from digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375:     digitalstrom/devices/sh-og-li-admin/brightness/command (QoS 0)
1617872375: digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 0 digitalstrom/devices/sh-og-li-admin/brightness/command
1617872375: Sending SUBACK to digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375: Received SUBSCRIBE from digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375:     digitalstrom/devices/sr-li-admin/brightness/command (QoS 0)
1617872375: digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 0 digitalstrom/devices/sr-li-admin/brightness/command
1617872375: Sending SUBACK to digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375: Received SUBSCRIBE from digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375:     digitalstrom/devices/sz-li-admin/brightness/command (QoS 0)
1617872375: digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 0 digitalstrom/devices/sz-li-admin/brightness/command
1617872375: Sending SUBACK to digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375: Received SUBSCRIBE from digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375:     digitalstrom/devices/wc-li-admin/brightness/command (QoS 0)
1617872375: digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 0 digitalstrom/devices/wc-li-admin/brightness/command
1617872375: Sending SUBACK to digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375: Received SUBSCRIBE from digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375:     digitalstrom/devices/hz-keller-lift/heatingPower/command (QoS 0)
1617872375: digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 0 digitalstrom/devices/hz-keller-lift/heatingPower/command
1617872375: Sending SUBACK to digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375: Received SUBSCRIBE from digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375:     digitalstrom/devices/vr-eg-li-admin/brightness/command (QoS 0)
1617872375: digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 0 digitalstrom/devices/vr-eg-li-admin/brightness/command
1617872375: Sending SUBACK to digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375: Received SUBSCRIBE from digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375:     digitalstrom/devices/ez-li-admin/brightness/command (QoS 0)
1617872375: digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 0 digitalstrom/devices/ez-li-admin/brightness/command
1617872375: Sending SUBACK to digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375: Received SUBSCRIBE from digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375:     digitalstrom/devices/gang-sz-li-admin/brightness/command (QoS 0)
1617872375: digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 0 digitalstrom/devices/gang-sz-li-admin/brightness/command
1617872375: Sending SUBACK to digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375: Received SUBSCRIBE from digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375:     digitalstrom/devices/gang-bad-li-admin/brightness/command (QoS 0)
1617872375: digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 0 digitalstrom/devices/gang-bad-li-admin/brightness/command
1617872375: Sending SUBACK to digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375: Received SUBSCRIBE from digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375:     digitalstrom/devices/wz-li-admin/brightness/command (QoS 0)
1617872375: digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 0 digitalstrom/devices/wz-li-admin/brightness/command
1617872375: Sending SUBACK to digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375: Received SUBSCRIBE from digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375:     digitalstrom/devices/speis-li-admin/brightness/command (QoS 0)
1617872375: digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 0 digitalstrom/devices/speis-li-admin/brightness/command
1617872375: Sending SUBACK to digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375: Received SUBSCRIBE from digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375:     digitalstrom/devices/hz-keller-stueberl-wand/heatingPower/command (QoS 0)
1617872375: digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 0 digitalstrom/devices/hz-keller-stueberl-wand/heatingPower/command
1617872375: Sending SUBACK to digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375: Received SUBSCRIBE from digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375:     digitalstrom/devices/hz-keller-stueberl-boden/heatingPower/command (QoS 0)
1617872375: digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 0 digitalstrom/devices/hz-keller-stueberl-boden/heatingPower/command
1617872375: Sending SUBACK to digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375: Received SUBSCRIBE from digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375:     digitalstrom/devices/ez-garten-og-raffstore/shadePositionOutside/command (QoS 0)
1617872375: digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 0 digitalstrom/devices/ez-garten-og-raffstore/shadePositionOutside/command
1617872375: Sending SUBACK to digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375: Received SUBSCRIBE from digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375:     digitalstrom/devices/ez-garten-og-raffstore/shadeOpeningAngleOutside/command (QoS 0)
1617872375: digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 0 digitalstrom/devices/ez-garten-og-raffstore/shadeOpeningAngleOutside/command
1617872375: Sending SUBACK to digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375: Received SUBSCRIBE from digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375:     digitalstrom/devices/Bad/brightness/command (QoS 0)
1617872375: digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 0 digitalstrom/devices/Bad/brightness/command
1617872375: Sending SUBACK to digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375: Received SUBSCRIBE from digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375:     digitalstrom/devices/GangBad/brightness/command (QoS 0)
1617872375: digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 0 digitalstrom/devices/GangBad/brightness/command
1617872375: Sending SUBACK to digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375: Received SUBSCRIBE from digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375:     digitalstrom/devices/EssZimmerIndirekt/brightness/command (QoS 0)
1617872375: digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 0 digitalstrom/devices/EssZimmerIndirekt/brightness/command
1617872375: Sending SUBACK to digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375: Received SUBSCRIBE from digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375:     digitalstrom/devices/Michi/brightness/command (QoS 0)
1617872375: digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 0 digitalstrom/devices/Michi/brightness/command
1617872375: Sending SUBACK to digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375: Received SUBSCRIBE from digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375:     digitalstrom/devices/BadWc/brightness/command (QoS 0)
1617872375: digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 0 digitalstrom/devices/BadWc/brightness/command
1617872375: Sending SUBACK to digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375: Received SUBSCRIBE from digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375:     digitalstrom/devices/Kati/brightness/command (QoS 0)
1617872375: digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 0 digitalstrom/devices/Kati/brightness/command
1617872375: Sending SUBACK to digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375: Received SUBSCRIBE from digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375:     digitalstrom/devices/Kueche/brightness/command (QoS 0)
1617872375: digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 0 digitalstrom/devices/Kueche/brightness/command
1617872375: Sending SUBACK to digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375: Received SUBSCRIBE from digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375:     digitalstrom/devices/Wc/brightness/command (QoS 0)
1617872375: digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 0 digitalstrom/devices/Wc/brightness/command
1617872375: Sending SUBACK to digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375: Received SUBSCRIBE from digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375:     digitalstrom/devices/KuecheIndirekt/brightness/command (QoS 0)
1617872375: digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 0 digitalstrom/devices/KuecheIndirekt/brightness/command
1617872375: Sending SUBACK to digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375: Received SUBSCRIBE from digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375:     digitalstrom/devices/SchrankRaum/brightness/command (QoS 0)
1617872375: digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 0 digitalstrom/devices/SchrankRaum/brightness/command
1617872375: Sending SUBACK to digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375: Received SUBSCRIBE from digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375:     digitalstrom/devices/SchlafZimmer/brightness/command (QoS 0)
1617872375: digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 0 digitalstrom/devices/SchlafZimmer/brightness/command
1617872375: Sending SUBACK to digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375: Received SUBSCRIBE from digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375:     digitalstrom/devices/DachBoden/brightness/command (QoS 0)
1617872375: digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 0 digitalstrom/devices/DachBoden/brightness/command
1617872375: Sending SUBACK to digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375: Received SUBSCRIBE from digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375:     digitalstrom/devices/WohnZimmer/brightness/command (QoS 0)
1617872375: digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 0 digitalstrom/devices/WohnZimmer/brightness/command
1617872375: Sending SUBACK to digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375: Received SUBSCRIBE from digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375:     digitalstrom/devices/Eingang/brightness/command (QoS 0)
1617872375: digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 0 digitalstrom/devices/Eingang/brightness/command
1617872375: Sending SUBACK to digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375: Received SUBSCRIBE from digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375:     digitalstrom/devices/GangSchlafZimmer/brightness/command (QoS 0)
1617872375: digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 0 digitalstrom/devices/GangSchlafZimmer/brightness/command
1617872375: Sending SUBACK to digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375: Received SUBSCRIBE from digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375:     digitalstrom/devices/EssZimmer/brightness/command (QoS 0)
1617872375: digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 0 digitalstrom/devices/EssZimmer/brightness/command
1617872375: Sending SUBACK to digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375: Received SUBSCRIBE from digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375:     digitalstrom/devices/BadDusche/brightness/command (QoS 0)
1617872375: digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 0 digitalstrom/devices/BadDusche/brightness/command
1617872375: Sending SUBACK to digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375: Received SUBSCRIBE from digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375:     digitalstrom/devices/StiegenHausOg/brightness/command (QoS 0)
1617872375: digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 0 digitalstrom/devices/StiegenHausOg/brightness/command
1617872375: Sending SUBACK to digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375: Received SUBSCRIBE from digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375:     digitalstrom/devices/Speis/brightness/command (QoS 0)
1617872375: digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 0 digitalstrom/devices/Speis/brightness/command
1617872375: Sending SUBACK to digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375: Received SUBSCRIBE from digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375:     digitalstrom/devices/StiegenHausKugeln/brightness/command (QoS 0)
1617872375: digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 0 digitalstrom/devices/StiegenHausKugeln/brightness/command
1617872375: Sending SUBACK to digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375: Received SUBSCRIBE from digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375:     digitalstrom/devices/Balkon/brightness/command (QoS 0)
1617872375: digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 0 digitalstrom/devices/Balkon/brightness/command
1617872375: Sending SUBACK to digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375: Received SUBSCRIBE from digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375:     digitalstrom/devices/BadWanne/brightness/command (QoS 0)
1617872375: digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 0 digitalstrom/devices/BadWanne/brightness/command
1617872375: Sending SUBACK to digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375: Received SUBSCRIBE from digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375:     digitalstrom/devices/BalkonMichi/brightness/command (QoS 0)
1617872375: digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 0 digitalstrom/devices/BalkonMichi/brightness/command
1617872375: Sending SUBACK to digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375: Received SUBSCRIBE from digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375:     digitalstrom/devices/hz-infrarot-kati-fenster-og/heatingPower/command (QoS 0)
1617872375: digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 0 digitalstrom/devices/hz-infrarot-kati-fenster-og/heatingPower/command
1617872375: Sending SUBACK to digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3
1617872375: Received PUBLISH from digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 (d0, q0, r0, m0, 'digitalstrom/circuits/og-kati/consumptionW/state', ... (1 bytes))
1617872375: Received PUBLISH from digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 (d0, q0, r0, m0, 'digitalstrom/circuits/og-kati/EnergyWs/state', ... (6 bytes))
1617872375: Socket error on client digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3, disconnecting.
1617872375: New connection from 192.168.245.66 on port 1883.
1617872375: New client connected from 192.168.245.66 as digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 (p2, c1, k30).
1617872375: No will message specified.
1617872375: Sending CONNACK to digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 (0, 0)
1617872375: Socket error on client digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3, disconnecting.
1617872375: New connection from 192.168.245.66 on port 1883.
1617872375: New client connected from 192.168.245.66 as digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 (p2, c1, k30).
1617872375: No will message specified.
1617872375: Sending CONNACK to digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 (0, 0)
1617872375: Received PUBLISH from digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 (d0, q0, r0, m0, 'digitalstrom/circuits/og-wohnzimmer/consumptionW/state', ... (2 bytes))
1617872375: Received PUBLISH from digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 (d0, q0, r0, m0, 'digitalstrom/circuits/og-wohnzimmer/EnergyWs/state', ... (7 bytes))
1617872375: Received PUBLISH from digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 (d0, q0, r0, m0, 'digitalstrom/circuits/og-speis-kühlschrank/consumptionW/state', ... (1 bytes))
1617872375: Received PUBLISH from digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 (d0, q0, r0, m0, 'digitalstrom/circuits/og-speis-kühlschrank/EnergyWs/state', ... (7 bytes))
1617872375: Received PUBLISH from digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 (d0, q0, r0, m0, 'digitalstrom/circuits/og-kueche-1.5-wand/consumptionW/state', ... (1 bytes))
1617872375: Received PUBLISH from digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 (d0, q0, r0, m0, 'digitalstrom/circuits/og-kueche-1.5-wand/EnergyWs/state', ... (6 bytes))
1617872375: Received PUBLISH from digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 (d0, q0, r0, m0, 'digitalstrom/circuits/og-kueche-2.5-insel-dunstabzug/consumptionW/state', ... (1 bytes))
1617872375: Received PUBLISH from digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 (d0, q0, r0, m0, 'digitalstrom/circuits/og-kueche-2.5-insel-dunstabzug/EnergyWs/state', ... (6 bytes))
1617872375: Received PUBLISH from digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 (d0, q0, r0, m0, 'digitalstrom/circuits/og-gang-stiegenhaus-og-db/consumptionW/state', ... (1 bytes))
1617872375: Received PUBLISH from digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 (d0, q0, r0, m0, 'digitalstrom/circuits/og-gang-stiegenhaus-og-db/EnergyWs/state', ... (6 bytes))
1617872375: Received PUBLISH from digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 (d0, q0, r0, m0, 'digitalstrom/circuits/og-michi/consumptionW/state', ... (3 bytes))
1617872375: Received PUBLISH from digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 (d0, q0, r0, m0, 'digitalstrom/circuits/og-michi/EnergyWs/state', ... (8 bytes))
1617872375: Received PUBLISH from digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 (d0, q0, r0, m0, 'digitalstrom/circuits/og-schlafzimmer/consumptionW/state', ... (2 bytes))
1617872375: Received PUBLISH from digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 (d0, q0, r0, m0, 'digitalstrom/circuits/og-schlafzimmer/EnergyWs/state', ... (7 bytes))
1617872375: Received PUBLISH from digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 (d0, q0, r0, m0, 'digitalstrom/circuits/og-bad-wc/consumptionW/state', ... (1 bytes))
1617872375: Received PUBLISH from digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 (d0, q0, r0, m0, 'digitalstrom/circuits/og-bad-wc/EnergyWs/state', ... (7 bytes))
1617872375: Socket error on client digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3, disconnecting.
1617872375: New connection from 192.168.245.66 on port 1883.
1617872375: New client connected from 192.168.245.66 as digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 (p2, c1, k30).
1617872375: No will message specified.
1617872375: Sending CONNACK to digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 (0, 0)
1617872375: Socket error on client digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3, disconnecting.
1617872375: New connection from 192.168.245.66 on port 1883.
1617872375: New client connected from 192.168.245.66 as digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 (p2, c1, k30).
1617872375: No will message specified.
1617872375: Sending CONNACK to digitalstrom-mqtt-1882560b-113a-4bea-95be-2c888e08f3e3 (0, 0)
1617872375: New connection from 192.168.244.11 on port 1883.
1617872375: New client connected from 192.168.244.11 as mosqpub|24339-rasp-db-w (p2, c1, k60).
1617872375: No will message specified.
1617872375: Sending CONNACK to mosqpub|24339-rasp-db-w (0, 0)
1617872375: Received PUBLISH from mosqpub|24339-rasp-db-w (d0, q0, r0, m0, '/db-weather-pi/28DBBEAC05000041', ... (5 bytes))
1617872375: Sending PUBLISH to mqtt_8a0a1cb0.de66c (d0, q0, r0, m0, '/db-weather-pi/28DBBEAC05000041', ... (5 bytes))
1617872375: Received DISCONNECT from mosqpub|24339-rasp-db-w
1617872375: Client mosqpub|24339-rasp-db-w disconnected.
1617872376: Received PUBLISH from eg-hz-verteiler-licht_1 (d0, q0, r0, m0, '/eg-hz-verteiler-licht/licht-ausgang/bwm', ... (1 bytes))
1617872376: Sending PUBLISH to mqtt_8a0a1cb0.de66c (d0, q0, r0, m0, '/eg-hz-verteiler-licht/licht-ausgang/bwm', ... (1 bytes))
1617872376: Sending PUBLISH to eg-hz-verteiler-licht_1 (d0, q0, r0, m0, '/eg-hz-verteiler-licht/licht-ausgang/bwm', ... (1 bytes))
1617872376: Received PUBLISH from esp8266-HuehnerStall (d0, q0, r0, m0, '/esp8266-HuehnerStall/TuerAuf/RelaisState', ... (1 bytes))
1617872376: Sending PUBLISH to mqtt_8a0a1cb0.de66c (d0, q0, r0, m0, '/esp8266-HuehnerStall/TuerAuf/RelaisState', ... (1 bytes))
1617872376: Sending PUBLISH to esp8266-HuehnerStall (d0, q0, r0, m0, '/esp8266-HuehnerStall/TuerAuf/RelaisState', ... (1 bytes))
1617872377: Received PUBLISH from esp8266-HuehnerStall (d0, q0, r0, m0, '/esp8266-HuehnerStall/TuerZu/RelaisState', ... (1 bytes))
1617872377: Sending PUBLISH to mqtt_8a0a1cb0.de66c (d0, q0, r0, m0, '/esp8266-HuehnerStall/TuerZu/RelaisState', ... (1 bytes))
1617872377: Sending PUBLISH to esp8266-HuehnerStall (d0, q0, r0, m0, '/esp8266-HuehnerStall/TuerZu/RelaisState', ... (1 bytes))
^C1617872378: mosquitto version 1.6.10 terminating
gaetancollaud commented 3 years ago

Thanks for all those logs, I will investigate this week-end.

The Error with digitalstrom API: Missing parameter dsuid are for sure caused by the virtual devices. I don't have any so I don't know how to use them. Easy solution is to filter them out.

For the MQTT stuff I will investigate, maybe it's related but not sure. The message Invalid subscription helps me.

Can you try to set this in the config:

MQTT_NORMALIZE_DEVICE_NAME=true

This will remove all the special chars from the device name to use them in mqtt.

Another option is to not use the device name but it's id instead:

MQTT_TOPIC_FORMAT=digitalstrom/{deviceType}/{deviceId}/{channel}/{commandState}
holli73 commented 3 years ago

hello,

i tried with NORMALIZE i do not get the DISCONNECT anymore but still no data on my mqtt server i tried the TOPIC-FORMAT as well - makes no difference.

i tried to switch on my infrared heating and the event fired (DBG) immediately once hit the dss button - so no delay but i did not get anything on mqtt server

2021-04-08T14:07:12+02:00 DBG Updating device  device=hz-keller-stueberl-wand
2021-04-08T14:07:12+02:00 DBG Response received status="200 OK" url=https://192.168.245.55:8080/json/property/getFloating?path=/apartment/zones/zone17/devices/302ed89f43f0000000000ec00009d3c600/status/outputs/heatingPower/targetValue&token=44b1c6ab04d3476152a121db85f151f4f36baed35b5069a4db24fb557dc0ce57
2021-04-08T14:07:12+02:00 ERR Unable to udpate device error="Error with digitalstrom API: Could not find node named '/apartment/zones/zone17/devices/302ed89f43f0000000000ec00009d3c600/status/outputs/heatingPower/targetValue'" device=hz-keller-stueberl-wand
2021-04-08T14:07:12+02:00 DBG Updating device  device=hz-keller-stueberl-boden
2021-04-08T14:07:12+02:00 DBG Response received status="200 OK" url=https://192.168.245.55:8080/json/property/getFloating?path=/apartment/zones/zone17/devices/302ed89f43f0000000000ec00009d3c700/status/outputs/heatingPower/targetValue&token=44b1c6ab04d3476152a121db85f151f4f36baed35b5069a4db24fb557dc0ce57
2021-04-08T14:07:12+02:00 ERR Unable to udpate device error="Error with digitalstrom API: Could not find node named '/apartment/zones/zone17/devices/302ed89f43f0000000000ec00009d3c700/status/outputs/heatingPower/targetValue'" device=hz-keller-stueberl-boden

so i checked the system/properties and the path is not correct "...outputs/heatingPower/..." doesn't exists the path is ".../outputs/powerSate/..."

thanks holli

gaetancollaud commented 3 years ago

Ok thanks for the feedback.

I wanted to keep MQTT_NORMALIZE_DEVICE_NAME as false by default but you convinced me to enable it by default. Others will experiment with the same issue.

I honestly hesitate to limit the device types that are supported because as you showed me, it seems like it doesn't work with the heater. What I do is that I get all the devices from the apartment with /json/apartment/getDevices. This call also gives me a list of "channels". I then use this info to query the system tree. But it seems like heatingPower was renamed to powerState. In your log I can clearly see:

  {
    "Name": "hz-keller-stueberl-boden",
    "Dsid": "302ed89f43f00ec00009d3c7",
    "Dsuid": "302ed89f43f0000000000ec00009d3c700",
    "DeviceType": "SW",
    "MeterDsid": "303505d7f80002c00000418a",
    "MeterDsuid": "303505d7f8000000000002c00000418a00",
    "MeterName": "eg-hz-keller-dsm#1",
    "ZoneId": 17,
    "Channels": [
      "heatingPower"
    ],
    "Values": {}
  } 

So In summary what I will do:

gaetancollaud commented 3 years ago

Hooooo I just saw something! You're listening to /# but you should listen to #. Or you should change the topic format (via config).

Try this please:

mosquitto_sub -h webserver -p 1883 -t '#' -v

This doesn't excuse the other issues but I think you will at least see some of your devices.

gaetancollaud commented 3 years ago

I just released https://github.com/gaetancollaud/digitalstrom-mqtt/releases/tag/1.3.0

Can you give it a try please?

holli73 commented 3 years ago

hello,

good catch the '/' was missing in the yaml file - as all my input starts with a leading slash - so once i changed the topic string i do get now messages from the system - as i'm replicating into my automation software (UC4) as well using the same rest endpoint - i checked my code what i do with the result:

image image

so it looks like i do get dsuid's for all my vdcd connected devices image

but it is ok - if all my vdcd devices are not listed as i'm in control of them and can put them easily there - if needed direct to mqtt - i just used vdcd to replicate all my deconz lights to dss - so within the dss app i'm able to control them and with the physical switch - but there i have some delays what i would like to get rid of - so if the physical switch (scene call) triggers immediately through your implementation i can call deconz directly with the needed action from the mqtt server.

regarding the powerState - i don't know why 1.18.0 (dss) is reporting here a wrong channel but this looks like a bug within dss. maybe a yaml config option would be good to map them f.ex.: MAP_DEVICE_CHANNEL_hwinfo_heatingPower: powerState

where "hwinfor/heatingPower" might be a wildcards - so you can use multiple mappings if needed - as i do have some other ds devices as well - so i do not know yet if they might report wrong channel info as well - f.ex. i have lots of joker (black) assigned to blue (heating - infrared heating) but i do have real blue as well for my floor heating,... but some joker as yellow too,...

as it looks like a real dss floor heating has not state output property at all... image

hope this makes sense and thanks a lot for your time and fast replies/changes.

holli

holli73 commented 3 years ago

hello,

some more information for all my BLUE (heating) defined devices as they are only used for ON/OFF

--connect-timeout 5 --max-time 10 --tcp-nodelay -k "https://192.168.245.55:8080/json/device/&ACTION#?dsuid=&DSUID#&token=&SESSIONTOKEN#" where ACTION can be turnOn or turnOff - and i only use the .ON state (shown in the prev. post) which reflects if heating is on or off - so on my blue devices there is no need for the output channel only the ON-STATE is important is it running or not.

maybe that makes it easier and options for dss blue devices can be set through yaml option - but it is not a big deal as i'm replicating all devices every minute anyway for the room temperature control.

best regards holli

gaetancollaud commented 3 years ago

Thanks to you for all your comment.

I don't feel confident implementing the turnOn and turnOff if I cannot test them. Maybe I should ask DigitalSTROM if they can send me a device to test. :smile:

Can you test one more thing for the heater. Can you try to publish the value 100 (the max I guess) or 0 to:

digitalstrom/devices/{YOUR_DEVICE_NAME_HERE}/heatingPower/command

Just to see if it works. Maybe I don't have to implement turnOn and turnOff, I can just use json/device/setOutputChannelValue like the other devices.

holli73 commented 3 years ago

hello,

i just tested it - this is working:

holli@ds-vdcd:~$ mosquitto_pub -h webserver -t "/dssip/devices/hz-keller-stueberl-boden/heatingPower/command" -m "100"
holli@ds-vdcd:~$ mosquitto_pub -h webserver -t "/dssip/devices/hz-keller-stueberl-boden/heatingPower/command" -m "0"

i do see this in the std.out:

2021-04-09T20:32:35+02:00 DBG Updating circuits values
2021-04-09T20:32:49+02:00 DBG Message received channel=heatingPower deviceName=hz-keller-stueberl-boden topic=/dssip/devices/hz-keller-stueberl-boden/heatingPower/command
2021-04-09T20:32:49+02:00 INF MQTT message to set device 'hz-keller-stueberl-boden' and channel 'heatingPower to '100'
2021-04-09T20:32:49+02:00 INF Setting value  channel=heatingPower device=hz-keller-stueberl-boden value=100
2021-04-09T20:32:49+02:00 INF New value channel=heatingPower device=hz-keller-stueberl-boden newValue=100
2021-04-09T20:33:05+02:00 DBG Updating circuits values
2021-04-09T20:33:35+02:00 DBG Updating circuits values
2021-04-09T20:33:41+02:00 DBG Message received channel=heatingPower deviceName=hz-keller-stueberl-boden topic=/dssip/devices/hz-keller-stueberl-boden/heatingPower/command
2021-04-09T20:33:41+02:00 INF MQTT message to set device 'hz-keller-stueberl-boden' and channel 'heatingPower to '0'
2021-04-09T20:33:41+02:00 INF Setting value  channel=heatingPower device=hz-keller-stueberl-boden value=0
2021-04-09T20:33:41+02:00 INF Value changed channel=heatingPower device=hz-keller-stueberl-boden newValue=0 oldValue=100
2021-04-09T20:34:05+02:00 DBG Updating circuits values

i checked within the dss webinterface the state and it was at 100% and 0% - so it did switch on/off.

best regards holli

gaetancollaud commented 3 years ago

Ok good to know. So the output channel heatingPower works as expected. It's just the reading of the state that fails.

I will close this issue and open a new one specifically for this.