-
Notifications
You must be signed in to change notification settings - Fork 44
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
Nodejs integration #24
Comments
I do have some trouble interpreting some of the Modbus registers. A bit more documentation on what each line does would come in handy. |
Hey Martijn, What more info do you need ? I can try to help you : I just wrote a first version of a custom integration for home assistant ( https://github.com/kennyschuoler/homeassistant-smartevse ) |
@kennyschuoler what HW interface do you have towards the SmartEVSE? Modbus over TCP? |
@fluppie i'm using a Waveshare RS232485 ( https://www.amazon.de/-/en/gp/product/B07RQSPYFV/ref=ppx_yo_dt_b_asin_title_o01_s00?ie=UTF8&th=1 ) ( mainly because this is located in my electrical box , otherwise you can also use the smaller RS485 version ) |
Is this module acting as a second Modbus master? Or is it invisible to the SmartEVSE and eventual kWh meters? Myself I have 2x Eastron SDM230 for house load and EV charged kWh's. In the future one for Solar could join the party. |
The Waveshare device is indeed acting as a second Modbus master, therefor i have to make sure that i only request data every +30 secs ( I am using the latest master branch software ). To give you an idea : My setup contains a sensorbox v2 ( 3-phase using clamps), 2 x Smart EVSE ( master + node ) devices and 2 x Eastron SDM630 modbus v2 devices. The sensorbox is connected via RS485. I also have solar panels with an energy meter, but this is completely isolated. The 2 eastron devices i have connected to 1 Waveshare device, and the other Waveshare device contains the 2 Smart EVSE devices and the sensorbox. They share the exact same configuration, so it should be able to connect them all to the same device.( just make sure that the eastron devices use an unused modbus address ) And to answer your last question, the Waveshare is just a proxy device to transmit the serial data over TCP ( to use it somewhere else ), which can be replaced with something else. Hope this helps ! |
Hi all
Just wanted to let you guys know, I'm working on an integration for Nodejs.
The first alpha version allows you to poll for all the values. It doesn't yet allow you to set them. That's for next weekend :-)
Link: https://github.com/martijndierckx/node-smartevse
The text was updated successfully, but these errors were encountered: