-
Notifications
You must be signed in to change notification settings - Fork 0
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
domoticz problem #1
Comments
Problem is there: plugin.py:75 Please try debug it - insert before line 75 and please submit log:
|
hello the test return
2021-09-21 09:35:29.087 pzem: (pzem) TEST DATA registers: Modbus Error:
[Input/Output] Modbus Error: [Invalid Message] No response received,
expected at least 2 bytes (0 received)
2021-09-21 09:35:29.087 Error: pzem: (pzem) Modbus communication error -
cannot decode data. Check it out!
2021-09-21 09:35:29.088 Error: pzem: (pzem) 'onHeartbeat' failed
'UnboundLocalError':'local variable 'dataDecoder' referenced before
assignment'.
2021-09-21 09:35:29.088 Error: pzem: (pzem) ----> Line 114 in
'/home/pi/domoticz/plugins/PZEM-017-master/plugin.py', function onHeartbeat
2021-09-21 09:35:29.088 Error: pzem: (pzem) ----> Line 82 in
'/home/pi/domoticz/plugins/PZEM-017-master/plugin.py', function onHeartbeat
Le mar. 31 août 2021 à 14:11, Martin Svoboda ***@***.***> a
écrit :
… Problem is there: plugin.py:75
Please try debug it - insert before line 75 and please submit log:
TEST: Read and print DATA:
Domoticz.Log("TEST DATA registers: " + str(data))
return
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AVNPEZ6NPWRE2B43CZDFNBDT7TBFVANCNFSM5DD5P74A>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
It seems you have problem with your modbus connection to PZEM. It's not topic of this discuss, sorry. |
but i have connect pzem with usb adapter it s possible to use gpio ?
Envoyé de mon iPhone
… Le 21 sept. 2021 à 12:05, Martin Svoboda ***@***.***> a écrit :
It seems you have problem with your modbus connection to PZEM. It's not topic of this discuss, sorry.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
2021-08-31 13:42:00.075 Error: pzem: (pzem) Modbus communication error - cannot decode data. Check it out!
2021-08-31 13:42:00.075 Error: pzem: (pzem) 'onHeartbeat' failed 'UnboundLocalError':'local variable 'dataDecoder' referenced before assignment'.
2021-08-31 13:42:00.076 Error: pzem: (pzem) ----> Line 112 in '/home/pi/domoticz/plugins/PZEM-017-master/plugin.py', function onHeartbeat
2021-08-31 13:42:00.076 Error: pzem: (pzem) ----> Line 80 in '/home/pi/domoticz/plugins/PZEM-017-master/plugin.py', function onHeartbeat
The text was updated successfully, but these errors were encountered: