Make Domoticz availeble as add-ON in Home Assistent

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
24zeven
Posts: 2
Joined: Monday 14 June 2021 21:51
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Make Domoticz availeble as add-ON in Home Assistent

Post by 24zeven »

I've been an happy user of Domoticz for several years..
Recently I switched to Home Assistent. Althoug I like that platform I still mis Domoticz...
As far as I know an add-On in Home Assistent like NODE-red or Z-wave JS is a Docker image..
I was wondering if it would be possible to use the Domoticz docker image and ad the information be able to load it in to Home Assistent as an add-On?

Would it be possible?
Are there more people who would like this?

I think this would open the best of both worlds as both platforms have their advantages!
rodaman
Posts: 23
Joined: Tuesday 29 November 2016 16:17
Target OS: -
Domoticz version:

Re: Make Domoticz availeble as add-ON in Home Assistent

Post by rodaman »

I have the same situation. My Domoticz instance is working only for switches and buttons directly connected to Domoticz via USB mysensor gate. It is working. Most integrations switched to HA . I avoid any upgrade of Domoticz because most of them produce crashes. The biggest issue of Domoticz is MQTT. Very poorly implemented. The only way to connect to HA is NodeRed.
User avatar
HansOtten
Posts: 50
Joined: Saturday 17 April 2021 9:29
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021-1
Location: Mierlo
Contact:

Re: Make Domoticz availeble as add-ON in Home Assistent

Post by HansOtten »

Would be nice indeed.

MQTT + NodeRed seems to be the way to go with HA.

In Domoticz MQTT is not very pleasant to use. Zigbee for example requires a plugin to Zigbee2MQTT, which works, like other MQTT plugins but support for it is not native to Domoticz.
Raspberry Pi 4, SSD, RFlink, P1 Smart Meter. Many Zigbee devices CR2562 USB stick. Bresser via Weather Underground
Switched to Home Assistant!
DAVIZINHO
Posts: 234
Joined: Sunday 27 August 2017 18:00
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Spain
Contact:

Re: Make Domoticz availeble as add-ON in Home Assistent

Post by DAVIZINHO »

i use home assistant as a input for domoticz
Example: the synology data are so easy to setup in home assistant!!!, i create a automation for each sensor to push the information to domoticz via mqtt.

i don´t know if is the same problem, for mi it will be very usefull to create a "new hardware" in domoticz and this hardware is all the sensors on home assistant.

the scripts and automations on domoticz is perfect for me, the problem is the integration of new devices :-(
xury
Posts: 48
Joined: Monday 10 December 2018 23:32
Target OS: Linux
Domoticz version:
Location: Poland
Contact:

Re: Make Domoticz availeble as add-ON in Home Assistent

Post by xury »

I have Domoticz, Home Assistant, Nodered, Grafana, Influxdb,and Plex on the same Intel NUC. So is easily to do. Need to install Debian buster,then Domoticz, Nodered, Influxdb,Grafana as normal service and Home Assistant in docker image. Still I have a half resource's free. About 4gb memory and 50% CPU time.
Alternatively you can install Proxmox with separated virtual systems. But this way uses much more resources.
24zeven
Posts: 2
Joined: Monday 14 June 2021 21:51
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Make Domoticz availeble as add-ON in Home Assistent

Post by 24zeven »

A NUC sounds easy, but I prefer not to have one at this moment...

I use HA OS on Pi4B and this makes backing up and updating simple.
A Domoticz Add-On would solve a few things that are missing or function poorly in HA.
Besides, It will open up an entire new platform with new users who can use domoticz.
Krenstik
Posts: 45
Joined: Saturday 13 June 2020 12:51
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Make Domoticz availeble as add-ON in Home Assistent

Post by Krenstik »

DAVIZINHO wrote: Tuesday 15 June 2021 13:06 i use home assistant as a input for domoticz
Example: the synology data are so easy to setup in home assistant!!!, i create a automation for each sensor to push the information to domoticz via mqtt.
How you do this? :-)

I have mqtt server, data from Domo is easy to sent it, but from HO I can´t get it.....

Thank you for any hint...
DAVIZINHO
Posts: 234
Joined: Sunday 27 August 2017 18:00
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Spain
Contact:

Re: Make Domoticz availeble as add-ON in Home Assistent

Post by DAVIZINHO »

Now i migrate all to home assistant. Anda shutdown domoticz docker.

But I remember something about this.
In home assistant i made automation that triger every time a sensor change. (Ej, body fat sensor)
No condition.
In action i called the service mqtt.publish
In service data i use this:
payload_template: >-
{ "command": "udevice", "idx": 184, "nvalue": 0, "svalue": "{{
states.sensor.body_fat.state }}"}
topic: domoticz/in

When 184 is de idx in domoticz
States.sensor.body...... is the value of the sensor changed


I Hope this works for you
TurboX
Posts: 40
Joined: Wednesday 07 September 2022 9:15
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Make Domoticz availeble as add-ON in Home Assistent

Post by TurboX »

In order to send from Home Assitant to Domoticz, you can try my tutorial:
viewtopic.php?p=297684#p297684
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest