question

bathnm avatar image
bathnm asked

Temperature Control of Relays and BMS Digital Inputs

All,

I have modified both the GUI and also created a dBus service to control a relay based on temperature. The temperature information can come from either an analogue sensor configured as a temperature probe or a temperature probe connected to a battery monitor.

I have also modified the digital inputs to allow BMS signals to be picked up. When the signal goes low, the digital input will alarm. The alarm will flow through to VRM. VRM however will nots how the function of the digital input, just it's input type of:

11 - BMS Allow to Charge

12 - BMS Allow to Discharge

13 - BMS Pre Alarm


I have tested it on a Cerbo and Raspberry PI, both running v2.60 and Beta v2.62~7. The temperature switch can be applied to either relay 0 or 1.

I am not able to provide major support for this, so if you do not have some unix experience and ability to install an opkq package then please do not ask for help. If once installed you have problems then I'll look into issues, but only as time permits. If you want to take this and develop further than please do so.

I have developed these capabilities as I need to trigger heat mats under my Lithium batteries (they are hovering around 5oC) and also get the BMS signal information when remote.

Enjoy

MB-Modifications_0.1_cortexa7hf-neon-vfpv4.ipk.zip

1609697165157.png

1609697261110.png

1609697283811.png

1609697649653.png

1609697318456.png

1609697361619.png

1609697398161.png


Venus OSRelay
2 comments
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

bathnm avatar image bathnm commented ·

VRM View of Digital Inputs.

1609697868411.png

0 Likes 0 ·
1609697868411.png (371.4 KiB)
bathnm avatar image bathnm commented ·

VenusOS Notification of BMS event

1609697915198.png1609697941879.png

0 Likes 0 ·
1609697915198.png (59.6 KiB)
1609697941879.png (103.8 KiB)
1 Answer
Stefanie (Victron Energy Staff) avatar image
Stefanie (Victron Energy Staff) answered ·

Excellent work!!

15 comments
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

bathnm avatar image bathnm commented ·

Thank you, needs must and all that. Like you my sailing yacht is renewables and need the Lithium batteries chargeable and knowledge of the BMS state ;)

0 Likes 0 ·
Stefanie (Victron Energy Staff) avatar image Stefanie (Victron Energy Staff) ♦♦ bathnm commented ·

I would install and try it out. Really impressive!

But have found another reliable solution, which works perfect for my installation.

0 Likes 0 ·
bathnm avatar image bathnm Stefanie (Victron Energy Staff) ♦♦ commented ·

@Stefanie, please do share.

0 Likes 0 ·
Show more comments

Related Resources

Victron Venus OS Open Source intro page

Venus OS GitHub (please do not post to this)

Additional resources still need to be added for this topic