March 29, 20197 yr Author Victron owners... using this MQTT stream, which simulator did you use. I initially read the options and went with i, but after digging around and always only getting a serial number back, i stopped it and tried one of the other simulation and guess bl00dy what... there is data coming at me now, and not JUST that serial number. so making progress making sure the bits fit together. I like to follow a "test driven development" methodology... make sure my data I am using to def is valid (and for negative testing), G
March 29, 20197 yr You have to request something from it. It uses a keep-alive mechanism, it only sends data as long as you talk to it once a minute. So just request something from it, eg: mosquitto_pub -m '' -t 'R/0242ac110003/system/0/Serial' Note the 'R/' prefix, that is a read request. You can also W/ (write). And notifications have a N/ in front, as you have already seen.
April 5, 20197 yr On 2019/03/25 at 5:20 AM, PaulF007 said: Some of the Node red rules that are running : Hi Paul, I also have MQTT broker with HomeAssistant and Node Red. I get data from Openenergymonitor into MQTT and from there HomeAssistant (and its accessible to NodeRed of course) I wrote some Python programs (aka modified code from github) to collect Modbus data from my inverter and my Pylon batteries and that data goes in too. I've got some PIR sensors which also write into MQTT via 433MHz signalling and a gateway. And some Broadlink smartswitches etc. So I've got more than enough tech to make my house energy-smart. But so far I didn't do too much in NodeRed except some experiments - first things first and this weekend its to get the panels hooked up and making power. Looking at your flows you have some nodes that "set max power" - where do these nodes come from - if they send MQTT messages what actions them? Thanks, @Elbow Edited April 5, 20197 yr by Elbow
April 7, 20197 yr On 2019/04/05 at 12:12 PM, Elbow said: Looking at your flows you have some nodes that "set max power" - where do these nodes come from - if they send MQTT messages what actions them? That is a command that is sent to the Victron Color Controle. Victron "grid tie" works through ESS and there is a lot of options there ( more than what I can handle) but one option is that you can limit the inverter power. So the small script monitors the battery watts and if it falls below -350 w then I set the max inverter power to 15% below the current solar output, I found that that value is about the conversion loss of the panels, the rest of the load will be carried by the grid. At night, no solar, that value will be set to 250 w so my batteries get discharged slowly during the night. Ps. Forgot to mention that you can change your Victron's settings via MQTT , if it was not obvious.
April 7, 20197 yr 4 hours ago, PaulF007 said: Ps. Forgot to mention that you can change your Victron's settings via MQTT , if it was not obvious. Heh. The Victron that I haven’t got. Though I suspect it’s a matter of time.
April 7, 20197 yr Author 3 hours ago, Elbow said: Heh. The Victron that I haven’t got. Though I suspect it’s a matter of time. just a matter of time, resistance is futile, you will be assimilated. G
April 7, 20197 yr 15 hours ago, PaulF007 said: Ps. Forgot to mention that you can change your Victron's settings via MQTT , if it was not obvious. Someone is working on adding nodes to make this easier (for controlling ESS mode 2 and 3). Coming soon to a release near you.
April 7, 20197 yr Author 1 minute ago, plonkster said: Someone is working on adding nodes to make this easier (for controlling ESS mode 2 and 3). Coming soon to a release near you. think we might know the someone... , now if this can just be GA as my installer have already informed me he won't install a beta image. G
April 7, 20197 yr Just now, georgelza said: we might know the someone No, it is not me. I had a meeting with him on Wednesday last week.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.