I am looking into using Domoticz. I will probably install it on a Pi 4B but I might instead install it on my Debian Linux desktop which runs all the time because it is my mail server etc.
Anyway my question is about interfacing Domoticz to other Raspberry Pi systems that I already have running, there's a Pi Zero 2W monitoring an electric fence (also has a BM280 sensor) and an old Pi 2B monitoring a UPS.
How can one get Domoticz to collect data from these? What's the easiest way?
I'm quite happy to shuffle things around if necessary. One obvious approach would be to replace the Pi 2B monitoring the UPS with my Pi 4B and run Dometicz on that. This would also have the benefit of Dometicz being powered by the UPS.
All the above systems (except the Pi Zero 2W) are on a wired LAN.
How to collect data from multiple RPi systems?
Moderators: leecollings, remb0
-
RNEE
- Posts: 107
- Joined: Sunday 05 August 2018 10:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2026.4
- Location: NL/Eindhoven area
- Contact:
Re: How to collect data from multiple RPi systems?
The question lacks necessary details.
Did you build/programmed these yourself ?
In what way do your other devices interface with your hardware and communicate now like web, mqtt, json?
Do you know the content of the data etc, addresses / function etc?.
In most cases it is easily possible to create (let AI do it) a dzVents script to get the data you want in Domoticz or send commands from it.
With just an IP adress, the communication methode and the data it takes Google or Claude some minutes to generate a script.
For Domoticz it is best NOT to run on an SD-card, use a NVMe , harddisk etc as it is more trusted in the long time.
For years i had Domoticz running first on a pc, and later on a Raspi 3B , since a year i use a Raspi 5B with NVMe.
I also have several Raspi 3B running on good quality SD cards for my CNC, 3D printer, video.
But i don't really trust the SD cards in the long time, I had some bad experience before.
Did you build/programmed these yourself ?
In what way do your other devices interface with your hardware and communicate now like web, mqtt, json?
Do you know the content of the data etc, addresses / function etc?.
In most cases it is easily possible to create (let AI do it) a dzVents script to get the data you want in Domoticz or send commands from it.
With just an IP adress, the communication methode and the data it takes Google or Claude some minutes to generate a script.
For Domoticz it is best NOT to run on an SD-card, use a NVMe , harddisk etc as it is more trusted in the long time.
For years i had Domoticz running first on a pc, and later on a Raspi 3B , since a year i use a Raspi 5B with NVMe.
I also have several Raspi 3B running on good quality SD cards for my CNC, 3D printer, video.
But i don't really trust the SD cards in the long time, I had some bad experience before.
Domoticz (since 2016) on Docker on Raspberry PI 5 with 500 Gb NVMe|Milight|KaKu + RFXCOM|Goodwe|Smartstuff P1 meter|Buienradar|Afval kalender|Tuya-wifi|Zigbee|deCONZ Conbee II|Marstek 5,12Kwh|Pusr-dr134/dr164|Xemex Csmb|MQTTMapper|Quatt v2|DTGbot|
-
chrisisbd
- Posts: 2
- Joined: Tuesday 24 November 2026 12:16
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: How to collect data from multiple RPi systems?
Yes, using I2C bus breakout boards and Python scripts (mostly)RNEE wrote: Tuesday 24 November 2026 13:44 The question lacks necessary details.
Did you build/programmed these yourself ?
At present the collected data (battery voltage and current for the UPS, temperature, humidity, pressure from the BME280) are simply stored in a sqlite3 database which is then used in a wiki on my desktop machine to display statistics etc.RNEE wrote: Tuesday 24 November 2026 13:44 In what way do your other devices interface with your hardware and communicate now like web, mqtt, json?
Do you know the content of the data etc, addresses / function etc?.
I guess dzVents can read from the sqlite3 database. Is that LUA or Python? I'm familiar with Python but not LUA.RNEE wrote: Tuesday 24 November 2026 13:44 In most cases it is easily possible to create (let AI do it) a dzVents script to get the data you want in Domoticz or send commands from it.
With just an IP adress, the communication methode and the data it takes Google or Claude some minutes to generate a script.
Yes, absolutely, I have had some failures of SD cards. My most important pi 4B runs from a Transcend USB SSD.RNEE wrote: Tuesday 24 November 2026 13:44 For Domoticz it is best NOT to run on an SD-card, use a NVMe , harddisk etc as it is more trusted in the long time.
For years i had Domoticz running first on a pc, and later on a Raspi 3B , since a year i use a Raspi 5B with NVMe.
I also have several Raspi 3B running on good quality SD cards for my CNC, 3D printer, video.
But i don't really trust the SD cards in the long time, I had some bad experience before.
Thanks, I should be able to make some progress now.
-
RNEE
- Posts: 107
- Joined: Sunday 05 August 2018 10:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2026.4
- Location: NL/Eindhoven area
- Contact:
Re: How to collect data from multiple RPi systems?
Instead of writing data to a different local database you can send the data directly to Domoticz using a common protocol. Domoticz stores the data in its own sqlite3 database.chrisisbd wrote: Tuesday 24 November 2026 14:07Yes, using I2C bus breakout boards and Python scripts (mostly)RNEE wrote: Tuesday 24 November 2026 13:44 The question lacks necessary details.
Did you build/programmed these yourself ?
At present the collected data (battery voltage and current for the UPS, temperature, humidity, pressure from the BME280) are simply stored in a sqlite3 database which is then used in a wiki on my desktop machine to display statistics etc.RNEE wrote: Tuesday 24 November 2026 13:44 In what way do your other devices interface with your hardware and communicate now like web, mqtt, json?
Do you know the content of the data etc, addresses / function etc?.
I guess dzVents can read from the sqlite3 database. Is that LUA or Python? I'm familiar with Python but not LUA.RNEE wrote: Tuesday 24 November 2026 13:44 In most cases it is easily possible to create (let AI do it) a dzVents script to get the data you want in Domoticz or send commands from it.
With just an IP adress, the communication methode and the data it takes Google or Claude some minutes to generate a script.
Yes, absolutely, I have had some failures of SD cards. My most important pi 4B runs from a Transcend USB SSD.RNEE wrote: Tuesday 24 November 2026 13:44 For Domoticz it is best NOT to run on an SD-card, use a NVMe , harddisk etc as it is more trusted in the long time.
For years i had Domoticz running first on a pc, and later on a Raspi 3B , since a year i use a Raspi 5B with NVMe.
I also have several Raspi 3B running on good quality SD cards for my CNC, 3D printer, video.
But i don't really trust the SD cards in the long time, I had some bad experience before.
Thanks, I should be able to make some progress now.
DzVents is Lua but especially for use with Domoticz , it can directly interface with Domoticz and use its data , interfaces etc etc. It is very powerfull. Llm’s like google and claude speak and write it with no problem.
In a few minutes they have your script ready.
Domoticz (since 2016) on Docker on Raspberry PI 5 with 500 Gb NVMe|Milight|KaKu + RFXCOM|Goodwe|Smartstuff P1 meter|Buienradar|Afval kalender|Tuya-wifi|Zigbee|deCONZ Conbee II|Marstek 5,12Kwh|Pusr-dr134/dr164|Xemex Csmb|MQTTMapper|Quatt v2|DTGbot|