Open PRONOVATEK opened 6 years ago
Hi, check out htis project, there is also a hint to switch the load on and off: http://randomsporadicprojects.blogspot.de/2016/11/instructions-for-creating-dashboard-to_9.html
and maybe my comments in this issue can help: https://github.com/toggio/PhpEpsolarTracer/issues/14
I posted the toggle codes in a comment in the phpmodbus section of this repository in nov 2016 but to save you here's a cut and paste.
I never got to the bottom of it not working at night, but it seems to work OK until the PV voltage drops below about 14V.
I should add that when it goes unresponsive, turning it off and on again fixes it - so not sure if these codes need changing a bit.
"I've had some success with my 30A tracer A using the following commands
//manually turn on sendRawQuery("\x01\x05\x00\x02\xff\x00\x2d\xfa", false);
//manually turn off sendRawQuery("\x01\x05\x00\x02\x00\x00\x6c\x0a", false);
I got these by using wireshark for packet capture
This works well, mostly, but my setup (a RPi dashboard) stops working at night if I use these commands (the load toggle still works, but my pi stops being able to pull the device current status, turning the tracer on and off again and reconnecting fixes this - but this doesn't happen during the day when it works flawlessly. Still working on this issue."
hi, i also tried it with the sendRawQuery which 50percentDave posted and they work, but i also cant get any data after that. what i tried is, if i switch on or off via the hardware button on my tracer i can always pull data. when i than use the sendRawQuery and it doent matter if i send ON or OFF i cant pully any data, i need to hit once the hardware button on my tracer to pull data again. i also tried Solar Station MonitorV1.91 where you can also switch the load On or Off and the same problem happens there so it does not seem to be a problem of the script.
what i also found out is that (at night didnt test ot during the day) if the load is ON i can pull every bit of data but when the load is off i.e. i cant pull data for "statistical data" and some other
I've been using this project https://github.com/dpoulson/EPSolar recently and it's excellent for my needs, perhaps you could dig up some documentation for the correct code to pass for toggling load and modify it.
A quick google for the protocol shows it can be found at https://github.com/alexnathanson/EPSolar_Tracer/blob/master/1733_modbus_protocol.pdf
So perhaps it could be modified to use address 6 to force the load on and off ??
I have to say that I now leave my load permanently on, and then use a sonoffsv to toggle load if required, ie I have a downstream solution
I've tried to turn on and off lamp on my EPSolar but I don't know the complete command to request, only know that I have to use the "sendRawQuery", do you know how can make it?, thanks in advance.