Page 1 of 1

Read-out Batrium BMS

Posted: Thursday 11 June 2020 22:13
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 1850 times

Re: Read-out Batrium BMS

Posted: Thursday 11 June 2020 23:02
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

Re: Read-out Batrium BMS

Posted: Friday 12 June 2020 8:32
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

Re: Read-out Batrium BMS

Posted: Friday 12 June 2020 8:51
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.

Re: Read-out Batrium BMS

Posted: Friday 12 June 2020 9:07
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.

Re: Read-out Batrium BMS

Posted: Friday 12 June 2020 10:55
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