Read-out Batrium BMS

Moderator: leecollings

Post Reply
Knibor
Posts: 112
Joined: Sunday 20 May 2018 12:56
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: NL
Contact:

Read-out Batrium BMS

Post by Knibor »

Hi, is it possible to read-out a Battery Management System with a UDP Outbound protocol in Domoticz

If yes, how to do it?
Batrium.png
Batrium.png (397.05 KiB) Viewed 1843 times
User avatar
FireWizard
Posts: 1889
Joined: Tuesday 25 December 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Voorthuizen (NL)
Contact:

Re: Read-out Batrium BMS

Post by FireWizard »

HI,

@Knibor

I think, that it is possible, as I see in System Op status MqttOffline =9.
This means that this unit may have MQTT available.

In that case with a MQTT server, such as Mosquitto and Node Red, it will not be too difficult.

Can you sort out the MQTT part?

[Added] I'm pretty sure . See:
https://github.com/Batrium/WatchMonUdpListener

Regards
Knibor
Posts: 112
Joined: Sunday 20 May 2018 12:56
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: NL
Contact:

Re: Read-out Batrium BMS

Post by Knibor »

Hi FireWizard,

Thanks for the response

I'm not familiar with the MQQT. But if I'm right, WatchMon UDP Binary Listener translates to JSON and stores to influxdb or sends it to MQTT . So I need a separate server, e.g. Rasp Pi, which I connect to the wifi from Batrium BMS on which WatchMon UDP Binary Listener runs.
And from Domoticz I connect to the Rasp Pi server MQQT. Doesn't Domoticz have a UDP listerner plugin that can do this? Then it is probably possible to communicate directly with the Batrium from Domticz.

Kind Regards
Last edited by Knibor on Friday 12 June 2020 9:15, edited 4 times in total.
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Read-out Batrium BMS

Post by waaren »

Knibor wrote: Friday 12 June 2020 8:32 ... Is it not possible to do this directly with Domoticz. The Batrium Windows program does a request of a measured value directly by wifi from the Batrium BMS and presents this in the Batrium windows program. Would this not be possible with a direct http Json request in Domoticz?
If the values can be retrieved using a JSON via HTTP Get then dzVents can collect it and update virtual sensors with the information.
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
Knibor
Posts: 112
Joined: Sunday 20 May 2018 12:56
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: NL
Contact:

Re: Read-out Batrium BMS

Post by Knibor »

Hi,

Doesn't Domoticz have a UDP listerner plugin that can do this? Then it is probably possible to communicate directly with the Batrium from Domticz.
If the values can be retrieved using a JSON via HTTP Get then dzVents can collect it and update virtual sensors with the information.
I don't know if the values can retrieve using a JSON.

The only thing I have is the UDP outbound protocol.

A few months ago I experimented with an ESP WEMO D1 wifi, with a JSON Command it was indeed possible to retrieve the measured values of the ESP to Domoticz. Now that I am experimenting with the Batrium BMS, I have found that this BMS uses an ESP32.
User avatar
FireWizard
Posts: 1889
Joined: Tuesday 25 December 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Voorthuizen (NL)
Contact:

Re: Read-out Batrium BMS

Post by FireWizard »

Hi,

Have a look here: https://www.npmjs.com/package/watchmonudplistener

From there you can make steps with either dzVents or Node Red.

Regards
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest