Page 1 of 1
Domotiza with PiHole on the same RPi?
Posted: Friday 07 March 2025 22:01
by dosch
Heya,
I have my RPi3B+ with Pihole next to my new smartmeter with P1 port.
Can I install Domoticz on the same Pi and access both webinterfaces?
Thnx!
Re: Domotiza with PiHole on the same RPi?
Posted: Friday 07 March 2025 22:09
by waltervl
Should not be a problem if the current load of Pihole is not very high.
Also when installing Domoticz and connecting it to your P1 smart meter dont put the update frequency of the P1 meter data to high. Keep it on default for now (every 30 seconds I believe).
Re: Domotiza with PiHole on the same RPi?
Posted: Friday 07 March 2025 22:23
by dosch
Yes, great stuff!
Default value seems to be poll every 5 minutes (300000 milliseconds)
Switch poll period is 100 milliseconds. But I don't (yet) know what that is

Re: Domotiza with PiHole on the same RPi?
Posted: Friday 07 March 2025 23:03
by waltervl
I mean the refresh rate setting for P1 smart meter in Domoticz
https://wiki.domoticz.com/Dutch_DSMR_sm ... th_P1_port
Re: Domotiza with PiHole on the same RPi?
Posted: Saturday 08 March 2025 9:40
by WouterO
Technically, it is not a problem to run Domoticz and Pihole on one RPi. I have the same (and much more) running on a RPi 4. Mind the web interfaces: they should be assigned different port numbers. You may need to change the default port numbers.
In addition: if you’re going to install more blocking files than just the standard Steven Black file (with ca.730.000 blocking addresses) your RPi 3b might get sluggish in response.
Re: Domotiza with PiHole on the same RPi?
Posted: Saturday 08 March 2025 21:46
by dosch
I hav a few more, but so far no problems.
I was amazed by the ease and setup of Domoticz; had it running within 10 minutes. Setup requires a little bit of getting used to, but most is pretty clear and works well on the pi.
My main concern is read/write operations with both systems installed and life-time expectancy of SD cards. Any ideas on how to reduce this impact are very much welcomed
Re: Domotiza with PiHole on the same RPi?
Posted: Saturday 08 March 2025 21:58
by WouterO
About the reliability of SD cards: imo this is not a problem if you use reliable, not too small SD cards (min 32 GB). Yes, I know that there are many horror stories around, but use your common sense: buy a fast, not too cheap card of a renowned brand. I never ever had any troubles with my SD cards even after being in use for 2 years continuously in my RPi with Domoticz and Pihole running. However, to easy my (and maybe your) mind, I recently exchanged my 3-yo card for the new, Rasberry Pi branded official card (which happens to be rather cheap and quite fast).
Summarized: I shouldn’t worry too much, just use a good SD card.
I do back up my Domoticz database every day to a SSD drive. (You may even use an extra USB stick on your RPi 3 for backing up)