SML with two Engelmann WMZ / Heatmeter via wired MBus and TTL-MBus Adapter #23561
Unanswered
Stephan2204
asked this question in
scripter / SML
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, i have programmed both heatmeters with different addresses (1,2). So both meters could be connected to the same bus.
Basic Script will read one of them by changing the address:
So SML is working fine and could send the right frame and Data will be retrieved to Webinterface and send via MQTT.
Then i have extended the script to two meters:
Now it's confusing...
Only the Values of MBUS1 in the Webinterface (and MQTT) will be filled by ##1 and switching every 10 seconds to show ##2 and back...
MBUS2 Entries stay 0.
I have also tested the script with the ##readmeter and different sml command:
But this is not working too.
Seems that anyhow the SML Code will not give the right id of meter back to the function for filling the values into vars.
A short look into the sourcecode for sml confused me more. Its to long ago for my C-phase of life.
Add:
if i work with M1 and give both addresses, its the same..... switchting values of the meters in the WebIF.
Beta Was this translation helpful? Give feedback.
All reactions