Domotiza with PiHole on the same RPi?

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
dosch
Posts: 3
Joined: Friday 07 March 2025 21:59
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Domotiza with PiHole on the same RPi?

Post 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!
User avatar
waltervl
Posts: 5781
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Domotiza with PiHole on the same RPi?

Post 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).
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
dosch
Posts: 3
Joined: Friday 07 March 2025 21:59
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Domotiza with PiHole on the same RPi?

Post 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 :-)
User avatar
waltervl
Posts: 5781
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Domotiza with PiHole on the same RPi?

Post by waltervl »

I mean the refresh rate setting for P1 smart meter in Domoticz https://wiki.domoticz.com/Dutch_DSMR_sm ... th_P1_port
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
WouterO
Posts: 60
Joined: Sunday 14 May 2023 19:23
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Domotiza with PiHole on the same RPi?

Post 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.
dosch
Posts: 3
Joined: Friday 07 March 2025 21:59
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Domotiza with PiHole on the same RPi?

Post 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
WouterO
Posts: 60
Joined: Sunday 14 May 2023 19:23
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Domotiza with PiHole on the same RPi?

Post 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)
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest