-
Notifications
You must be signed in to change notification settings - Fork 11
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
Don’t get connect to Shelly plus 1pm #3
Comments
No you are wrong, the script starts(is beeing started by venus os) automaticly on reboot, and binds a websocket server onto the venus device. you need to add the "outbound websocket server" to the shellys settings using the scheme ws://ip.of.venus.device:8000 and restart the shelly to transmit data to the venus os :) |
Is it not because the PM1 API uses RPC methods like PM1.GetStatus, whereas the EM API uses methods like EM.GetStatus? |
Yeah, the meter.py file uses things such as:
Whereas the PM1 has just one channel |
can you do that yourself, now you know how? |
OK, I came up with something. The issue is that the Shelly Plus 1PM (at least mine) does not send all sensor data (voltage, current, apower, aenergy) at each WS notification, which is something the Victron seems to expect. Not sure this is a defect of my device or a flaw in the 1PM's firmware. |
I think a few of us have tried the same. Still needs debugging but here's the first draft |
@matt1309 Did you got your PM to work? Will this work for the Shelly Pro 1 PM, as well ? |
I gave up making a generalised version but happy to help make a static version for pm if you need it. |
I've worked on generalized version here: |
It is some trouble, since we've gone through the effort of genericising! |
Well......don't bother, then. It is not that important :) |
Have try this with gen2 device Shelly plus 1pm and have no success.
Did yon have any hints?
If I start the script 0.6 the last statement are 0.0.0.0:8000 already in use.but this is not the ip of the Shelly!
Regards
The text was updated successfully, but these errors were encountered: