Folks, I have a site that uses one fo the 4 relay hats on an RPI. it is running ver 3.42 with guimods. I use the relay board to control the battery heater and turn some devices off when the power gets too low on the batteries. So far this site has been stuck on 3.42 as it appears that guidmods does not work with the later releases of code. Has anyone come up with a solution to be able to use the new code with the relay board hat on the RPi.
GuiMods is compatible with all released versions demo v3.00 up to v3.55 and also the current betas of v3.60 (v3.60~58 currently). There are also archived versions to support older firmware but without recent updates. Check out the ReadMe in SetupHelper for details on how to get these older versions.
GuiMods and SetupHelper may need to be updated and if they are really old, I recommend uninstalling GuiMods (and any other packages you are using), then SetupHelper via PackageManager, then doing a blind install of SetupHelper. Once SetupHelper is installed, you can then update and install GuiMods (and any other packages you are running).
Kevin, thank you. I was under the impression the guimods did not work wtih the new code. Since we are out of the cold season I can get to work on getting that site updated and not worry about having a cold snap mess my day up. Thank you again.
By the way the relay board I have “Just works” with guimods. when I installed it on the rev now running at the site. The 4 repalys became very visible on the screen and I was able to toggle thme no issues. Also there were no issues with a boot or reboot and the relays going off in the weeds. Looking forward to getting this taken care of.
Got it all working, I forgot that I did have to drop in a gipo_list file for the relay board that I am using
KS0212 keyestudio RPI 4-channel Relay Shield
Indeed here is the file:
modified for use by the RpiGpio package on Raspberry PI platforms ONLY
For the KS0212 keyestudio RPI 4-channel Relay Shield
This is a list of gpio pins, set by the script /etc/rcS.d/S90gpio_pins.sh
They are documented at: bbb gpio · victronenergy/venus Wiki · GitHub
Format: <pin_number> <direction: in/out>
The part is used to create an symlink in /dev/gpio.
relays are active HIGH
Relay 1 Pin 40 / GPIO 21 CHANGES FOR RELAY HAT: → GPIO 4
4 out relay_1
Relay 2 Pin 11 / GPIO 17 CHANGES FOR RELAY HAT: → GPIO 22
22 out relay_2
Relay 3 Pin 13 / GPIO 27 CHANGES FOR RELAY HAT: → GPIO 6
6 out relay_3
Relay 4 Pin 15 / GPIO 22 CHANGES FOR RELAY HAT: → GPIO 26
26 out relay_4
But in able to see relays 3 and 4 I have to return to the old GUI. I hope we can soon see all of them in the new one. The new one does show relays 1 and 2 and allows me to operate them.
So unless I need to activate or see the status of relays 3 and 4 I can use V2 GUI.