-
Notifications
You must be signed in to change notification settings - Fork 76
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
add node-red aka the main Venus OS Large tracking issue #378
Comments
This comment has been minimized.
This comment has been minimized.
Summary of decisions made today:
Example of service + path combinations for Battery Monitor node:For the Battery Monitor node in Node-red:
Example of service + path combinations for Relay node:For the Relay node in Node-red:
and so forth; note that those paths need to be verified. Use dbus-spy on a working system for that. Picture provided by Peter: |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Hi @thomas-pfeifer, thanks for reporting!
Thats correct; its always on for now.
No, its not necessary to install nodes manually. And actually we have a new version built recently; could you try them? See next comment. |
New test images are available.
Node-red UI is at http://(ip address):1880 And its default on: there is no GUI switch. See here for how to install on a raspberrypi. For the Venus GX; first follow chapter IV of this issue to repartition it, and then use the normal offline update procedure to install the swu. For Octo GX, no repartitioning is required; just install the beaglebone swu file. |
Hi, I have installed the Beaglebone-SWU 2.30-35 from the link above. Unfortunately, I get the same syntax-error messages in Node-Red UI, as before. Victron nodes are not visible in the UI. When disabling / enabling the "node-red-contrib-victron, 1.1.1" nodes under "User Settings" => "Palette", same syntax errors are thrown. |
@thomas-pfeifer can you check with Firefox or Chrome? Perhaps it is an IE issue.. |
Yes, the issue was caused by IE. Tried now with Chrome and Opera - both working fine. |
Indeed the frontend code used some features not supported by IE. This should be fixed in the next version (Support for IE 10+). |
Hi thanks. Is there a "noob - howto" to install this on 2.30~39 in an RPi ? |
No. But search for venus raspberrypi image install in Google, and for questions see the Modifications space on community.victronenergy.com. If you have inprovements for the documentation while going through the process, please do improve the docs yourself. All this Victron on rpi is a community effort. Enjoy! |
Hi, I have a nice Node-Red "Energy Manager" running on a Venus GX, using the test image provided by @mpvader on March 22, based on Venus OS v2.30_35. However, I recently experienced a Remote Console via VRM connection issue, which hopefully could be solved by updating the Venus Firmware, as indicated in the description of v2.31 bug fixes. |
Hi @thomas-pfeifer; yes, actually: this IP address verification issue was solved in v2.30. I’ll see if I can make a new build for you (v2.32-nodered) tonight. Wrt the updatability: once we make node-red support official, then you can do updates without (always) losing flows. If it will be 100% watertight remains to be seen. And, how we’ll manage that for the Venus GX remains to be seen as well; due to the fact that we’ve produced many of them with the small version partition layout. There are solutions; but they’ll take (more) time. And thats whats lacking at the moment: time. I’ll post here when I have updated images. |
New test image available: Note that I did not really test it (I opened node-red once; and thats it). One major change wrt last version is that this has version 1.2.0 of node-red-contrib-victron. Previous images had version 1.1.1. See its repo (its public on this github) and then the releases link for whats been changed. And, I've updated the two branched (matthijs/wip/node-red in openembedded-core and meta-victronenergy) |
Hi @mpvader, thank you so much for quick support. It worked great! Remote Console via VRM is now working again, and Node-Red seems to be functioning as before. Surprisingly (for me), my deployed Flows and additional Palette entries completely "survived" the FW update (via SD card), while Victron nodes were updated to v1.2.0. Of course, I have too less knowledge to understand all this stuff - just wanted to let you know that it worked perfect. |
Hi @thomas-pfeifer: thats great to hear. Thanks for the testing report; useful - even though you might not understand everything; its the info I was looking for :-). |
Hello,
Thanks as always for a great solution with the Venus OS Large combo! |
A quick reaction to this. In VRM you can use the advanced tab to add a custom widget that displays the D-Bus round-trip time. This number is a good indication of the load on the system. Alternative is to adjust the https://github.com/victronenergy/node-red-contrib-victron/wiki/Example-Flows#monitor-disk-usage example to log and alarm from within Node-RED. And there are other installable nodes to monitor a linux system too.
Can you file an issue about this on https://github.com/victronenergy/node-red-contrib-victron preferably with some screenshot/log data that will make it possible for me to reproduce?
That is a good suggestion, but we need to look at the existing alternatives too. For example node-red-contrib-process-resources, which can be used for monitoring resources used by the OS processes. |
Many thanks @dirkjanfaber Reg. Deleting nodes.
|
You are welcome, @houser42. |
I also have difficulty un-installing nodes, please see attached images.
Many thanks for all the great work
On Wednesday, 13 April 2022, 10:02:17 BST, houser42 ***@***.***> wrote:
Hello,
Just a few things I am curious about. I am on Venus OS Large v2.82-large-30.
Things are working very well and I am now at a stage where much of the functionality I want is pretty much there, so as I clean up and try to make it as robust as it can be:
-
Is there or will there be a way to check processor usage? I know I can run top on the terminal, but
a percentage or warning in the VRM or remote control would certainly be very useful?
-
The deleting of nodes is still not working 100% as expected and some nodes will not allow deletion.
-
Could/should the Cerbo GX maybe have it's own node to wire in and allow some forms of diagnostics and monitoring?
-
Will CANBus batteries add up their SOC and present a sum in the VRM if you use more than one?
I ask as the BMV 712 can not see the power used for heat foils.
Thanks as always for a great solution with the Venus OS Large combo!
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
I am afraid I don't see any any attachments, but to keep this thread less polluted, I created an issue specific for this: victronenergy/node-red-contrib-victron#131 |
I'm trying to read some meters with a modbus-usb converter but I can't make it to work. Unplugging the dongle from the cerbo and plugging it into a server that runs node-red, works nicely. In both cases using the same flow. Is there a reason why modbus through usb doesn't work? Venus allocating new usb devices so locking access to com ports? Node-red running user lacking permissions to usb ports? PS: I've noticed that from time to time, between errors, some value seems to make it's way. So it will be possible that NR has access to the converter, but could be that Venus is trying to find a new device there and retrying, so messing communication? |
Venus has a Service running that is called serial-starter. You can read more about it here. Or you can just use a Serial to Ethernet adapter like the USR-TCP232-410s |
Venus OS large v2.90~3Which is a significant event: Venus OS Large is now part of the standard build! Beta release announcement here: https://community.victronenergy.com/questions/133592/venus-os-v2903-available-for-testing.html. Manual: https://www.victronenergy.com/live/venus-os:large Changes:
Change-logs of the included software:
Versions:
Known issues:
Careful, runs under nodered user instead of root:
Branches:
Downloads:
Comments: |
Hi shaneyake, I don't know if you're part of the staff, excuse me if this doesn't belong to you. I was using an ETH converter, but such connection introduced a good amount of lag on the cerbo's work. That's why diched it in favor of a modbus-usb. Another very ugly issue is that as I went back booting to my previous version, all the Another thing that also has stopped working is the ability to execute something at the start from |
The files have not been deleted, but moved to the homedir of user nodered. In one of the last updates we moved the nodered instance to run under its own user account. So your files should still be there.
Have you tried making the script executable ( I'll check the |
@dirkjanfaber Thanks. As the node-red instance was completely empty I assumed it was deleted. The folder was there, but only with the factory files: On nodered user folder, you're right, things are there. But I was talking about going back / booting the previous v2.80~21-large-23 and node-red being wiped out in that version. Could be that you move the .node-red folder to the v2.90 on install/first run? You should leave the previous version copy there so the dual boot is still an option. (There should also be an option for pinning a version so it's not overwritten on the second upgrade and one could always return to that good old version. ;) ) So going back to v2.90, could then the issue accessing the modbus usb dongle be just a problem with the user nodered not having permissions to access the USB ports? Just an idea. Anyways I've seen that the |
When booting from the backup version, the new files get recreated. So this is expected behavior, but I can imagine that you thought that the files got deleted.
The nodered user is member of the |
Sorry, I was editing my precious message bc it was unprecise and confusing. Yes, I guess you do a move on the .node-red folder, but I think that should be a copy so the previous version still works. I'll try the perms thing now. |
Hi both, wrt the move and such: I've added a note to the release note above with the details as well as a link to the script that takes care of it. Most users won't even notice it. Its only when updating to v2.90, and then downgrading to a prior venus os large version, that it looks like all files are gone. (which they are not) In general, maybe bad timing but still I'm going to say it: please do always backup your flows. Things can go wrong, by a mistake of us, or by a faulty storage device, as well as other reasons, and it would be terrible to have to remake all your flows. |
That is good to know! Can you provide me with some more information on the device? Is it a normal serial to usb dongle? With the devices I tested, the permissions become when plugging in:
So the nodered user has access to it. What is the output of |
The permissions of the device where just like you posted. The output below is after running chmod.
That converter is a proven 4-wire modbus to USB dongle. It's reading some energy meters and I use that information on Venus for changing parameters to better adapt to EV charging and Heating, for example to avoid overloads. Or diverting only when really is energy available. My grid supplier doesn't allow export, so I have to slowly "steal" production and keep the system active.
It was working without problem on v2.80~21. Only the serial-starter unlock was required. I recognize is strange. It should work out of the box.
Thank you so much for your work. |
In the current release Node-RED is started via |
Looking for methods of turning off the charger in my lithium setup with cerbo, multiplus and REC bms.. on my boat when on shore power for a few days I don't want the battery charger to be on, keeping my batteries at 100% since this is not recommended for lithium. For this I want to read the 'DVCC max charge current' in node red, but I cant.. I can however set this value in the settings node. In the settings input node I can only select the state of charge for ESS (which is not enabled). any thoughts on this? |
On my setup which uses a Cerbo, a Quattro and a Batruim BMS I control this by changing the charging profile in the BMS when on shore for a few days.
… On May 27, 2022, at 11:45 AM, Rein Boshuisen ***@***.***> wrote:
Looking for methods of turning off the charger in my lithium setup with cerbo, multiplus and REC bms.. on my boat when on shore power for a few days I don't want the battery charger to be on, keeping my batteries at 100% since this is not recommended for lithium.
Since I have a Cerbo and a multi control to limit input current I can't use the multiplus states (on, off, inverter only, charger only) since they are blocked.
Thought the best way to disable the charger in node red is to alter the DVCC max charge current to zero when I want it (for example, set to zero amps if battery is at 100% and set back to 120A when battery is at 80 or so)
For this I want to read the 'DVCC max charge current' in node red, but I cant.. I can however set this value in the settings node. In the settings input node I can only select the state of charge for ESS (which is not enabled).
any thoughts on this?
—
Reply to this email directly, view it on GitHub <#378 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAQBY5AMYJX5BGPKW5IILXDVMDU2LANCNFSM4GGXANCQ>.
You are receiving this because you are subscribed to this thread.
|
I have this setup which works, but the 'set max charge current' value is set every minute, which is useless of course. I like my method more, because it is automatic and does not rely on myself forgetting to change parameters..
|
@prein2 Maybe another option is to use an Assistant in the Multiplus. This can control the shore AC relay which will ignore the AC inout and therefore not charge. This is on the community forums and you will see what someone has done. Does require a little bit of control wiring on the Multiplus, but does a great job and is a neat solution. The generator start stop can be set to trigger the use of shore power based on SOC, voltage, load, etc. An override switch can be set to force the system on if you need a charge. I use this when on shore to ensure that I favour Solar over shore, but then the shore can be used if Solar can't keep up. BTW do you disable the Solar as well, so that it dose not bring the batteries to 100%? |
Thats another possibility. I think I'll leave it this way.. My solar is not disabled, but i have very limited solar (80Wp) on a quite large battery (600Ah Lifepo4), so my current setup keeps the battery at minimum 80% by shore power en provides the rest by sun.. |
Dear all, Venus OS large (includes Node-RED as well as SignalK) is now included in our normal builds; and as such will also be part of official releases. Right now only as v2.90 beta versions. And as soon as we release v2.90 then its available as official builds. Which is still one or two months away minimum. This message is to thank everyone everyone for their help in making this a reality. Having node-red in Venus OS is a really cool improvement; adding an amazing level of flexibility. I'll close this issue now. Any discussion on how to do this or that, please use Community, Modifications section. And same for bug reporting or improvements: please all on Community, Modifications sections. For software developers: pull requests for our node definitions can go here: https://github.com/victronenergy/node-red-contrib-victron. all the best, Matthijs Ps. for anyone coming accross this and wanting to know what its all about and current status, read the manual: https://www.victronenergy.com/live/venus-os:large. |
@mpvader is it going to include signalK? |
Hi @alnavasa SignalK is already included. I've improved my wording the message above. thanks. |
Just a closing comment from me too if I may since I am one of the many on this since at least early 2020 ;-) Yes, it is a really cool and useful feature set. Including the ability to integrate with pretty much anything |
Add the Victron Nodes to the top of the list of available categories in the editor palette, checking the last point of the todo of the (already closed) issue victronenergy/venus#378
Todo
Repo for the node-red pallette is here: https://github.com/victronenergy/node-red-contrib-victron
Node-red discussion on Community is here: https://community.victronenergy.com/questions/549/feature-request-scheduled-virtual-switch-for-venus.html.
Download information + user manual for beta version of all this is here: https://www.victronenergy.com/live/venus-os:large
Initial -possible outdated- story:
What problem does this solve?
The value in this is that it enables capable installers that want to automatically control available outputs such as relays, or software set-points such as the
ESS Grid set-point
, orMax Charge Current
.How to handle support?
The risk is that it creates endless possibilities, and its impossible to support by Victron: our support staff does not contain software developers; nor PLC experts, and also we don't want to start employing them for the support team. This risk is mitigated by declaring that there is no official support for this; only community support on https://community.victronenergy.com.
Details
Only runs on Venus GX and newer devices
More information about available disk space is here.
Concept drawing
The text was updated successfully, but these errors were encountered: