Closed harry7922 closed 1 year ago
No error message in stdout or stderr? Is this the complete log? Something is really strange - I would have expected that at least an error message
That's all, no error or something else. Example of telegrams coming from enery meter - if this could help:
/ESY5Q3DA1024 V3.04
1-0:0.0.0*255(<Number_of_energy_meter>)
1-0:1.8.0*255(00012385.6846316*kWh)
1-0:2.8.0*255(00030329.7409047*kWh)
1-0:21.7.0*255(000210.04*W)
1-0:41.7.0*255(000100.15*W)
1-0:61.7.0*255(000142.61*W)
1-0:1.7.0*255(000452.80*W)
1-0:96.5.5*255(80)
0-0:96.1.255*255(1ESY<ID_of_energy_meter>)
!
Thanks, Hardy
Hi, I setup IDE and debugged. Here debugger got an exception
And this is the data will look like:
I'm sorry that my programming skills are not yet as good to understand the issue. But maybe this will help you to know whats wrong in my case?
Thanks and regards, Hardy
I think you are trying to read a DSMR meter, but I am not 100% sure. This is the wrong software for you, you need a dsmr-to-mqtt bridge or use a dmsr integration for your home automation software. This software is used to read sml based meters which is a binary protocol.
Nonetheless it shouldn't just quit without any message ...
Shame on me! I'm sorry you were absolutely right. Seems I was confused by the different types of smart meter interfaces.
Thanks for your help.
Best, Hardy
Hi spacemanspiff2007, I'm not able to get an analysis of telegram but don't know whats wrong.
Receive following log: [2023-01-28 10:53:01,675] [sml ] INFO | Starting V1.2.2 [2023-01-28 10:53:01,676] [asyncio ] DEBUG | Using selector: EpollSelector [2023-01-28 10:53:01,677] [sml.mqtt ] DEBUG | Connecting to 192.168.0.1:1883 [2023-01-28 10:53:01,683] [sml.mqtt ] DEBUG | Success! [2023-01-28 10:53:01,683] [sml.mqtt.pub ] INFO | sml2mqtt/status: ONLINE (QOS: 0, retain: False) [2023-01-28 10:53:01,779] [sml.serial ] DEBUG | Port /dev/ttyUSB0 successfully opened [2023-01-28 10:53:01,780] [sml.ttyUSB0.status ] INFO | PORT_OPENED [2023-01-28 10:53:01,800] [sml.serial ] INFO | Port /dev/ttyUSB0 was closed [2023-01-28 10:53:01,800] [sml.ttyUSB0.status ] INFO | PORT_CLOSED [2023-01-28 10:53:01,801] [sml.mqtt.pub ] INFO | sml2mqtt//dev/ttyUSB0/status: PORT_CLOSED (QOS: 0, retain: False) [2023-01-28 10:53:01,801] [sml ] INFO | Shutting down ...
When I make a cat on /dev/ttyUSB0 I see there are telegrams comming in.
Because I have an EasyMeter energy meter, I use following config-section for port:
Thanks for your effort, Hardy