Home Assistant - Control Google Assistant Devices?

I have setup a container via my synology NAS default docker solution. Nothing fancy. No https, turned out for me that the enet connection was quickly working, the mqtt connection was not working initially.

BTW did somebody find a way already to trigger scenes instead of single lights? This would be very beneficial, while the scenes I programmed in the enet server are connected to my switches.

Hi Thomas, @Thetmar,

I checked and for my enet server I didn’t switch on https

Furthermore normal enet configuration

Regards,
Jeroen

Gents,

I have made a first version of a native Enet Smart Home addon, ie not relying on mqtt.

I have done limited testing, but it should have the same features as the old one.

You can try it out by installing https://github.com/mnordseth/enet into your custom_components folder.

Looking forward to your feedback.

Regards,
Magnus

Hello @MagnusN

This is great. I will test is this week. Im looking forward to work with it. Because i have a few enet servers at customers. But didnt get the other addon working with the enet server.
I will let you know soon.

Kind regards,
Thetmar

Hi Magnus,

I had tested it in my HA. So it is without any problems in my integrations. And then i added it without any errors. But can i check somewhere if it is connected? image

Kind regards,
Thetmar

Hello @MagnusN

This is what i can find about enet in my log of HA.

Logger: homeassistant.helpers.integration_platform
Source: loader.py:674
First occurred: September 13, 2022 at 20:01:48 (8 occurrences)
Last logged: September 13, 2022 at 20:02:02

Unexpected error importing enet/logbook.py
Unexpected error importing enet/system_health.py
Unexpected error importing enet/media_source.py
Unexpected error importing enet/cast.py
Unexpected error importing enet/energy.py
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/helpers/integration_platform.py”, line 40, in _async_process_single_integration_platform_component
platform = integration.get_platform(platform_name)
File “/usr/src/homeassistant/homeassistant/loader.py”, line 657, in get_platform
cache[full_name] = self._import_platform(platform_name)
File “/usr/src/homeassistant/homeassistant/loader.py”, line 674, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
File “/usr/local/lib/python3.10/importlib/init.py”, line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 1050, in _gcd_import
File “”, line 1027, in _find_and_load
File “”, line 1004, in _find_and_load_unlocked
ModuleNotFoundError: No module named ‘custom_components.enet-main.group’

Kind regards,
Thetmar

Hi Thetmar,

Based on that error message, it looks like you have some other files / wrong files in your enet folder. My integration do not contain any files named logbook, system_health, etc.

Can you try to remove that folder and then from within custom_components do “git clone GitHub - mnordseth/enet: Enet Smart Home integration for Home Assistant

Thanks,
Magnus

1 Like

Hi All!
I just tested the integration!
Great work Magnus! For me it works perfectly.
I allready run the ingration from my own docker container on another linux-server - but i am able to run this in parralel - until i bite the bullet and “re-integrate” / “rename” the new entities to match the older onses - which i customized.

i will do some “long term” testing - adding theese to a seperate panel - and see if this integrations runs more smooth than my “dockerized version” - because from time to time i have to manually restart it - as it looses the connection - hopefully this integration wont suffer from that - as it restarts together with HA when new updates arrive etc.

I think this is great work - and depending on the reliability i think we should contact the enet folks - and let them now that we have created this.

Also - we could look into this :

so that we can have a nice icon - to show up on the integrations page.

Great work :slight_smile:

1 Like

Hi, do you use my fork? Or did you make your own docker version of the mqtt version?
If you do use my version we can check what is wrong with the connection. Please dm the logs :))

Hi Thomas!
I use my own version - derived from the original version.
I simply created a docker container :slight_smile:

Hi Ronni,

Thanks for testing. I have now made the integration compatible with HACS to make it easier to install, and in that process renamed the repository to make it a bit more self explanatory.

Head over to GitHub - mnordseth/enet-homeassistant: Enet Smart Home integration for Home Assistant and add it as a custom repository in HACS.

Thanks,
Magnus

2 Likes

Hi Again All!
Im still very happy with the enet integration, and it seems quite steady!
Really nice!

I have contacted the Enet Support team (again) and asked if they could somehow back this project up.
I would suggest that you do the same. As putting pressure on them - might make them realize how positive if it is - if they make their system more open - and therefore more futureproof.

Has any of you guys looked into the jsonrpc - and the “getChanges” call?
I really think it would be nice if we could somehow “connect” with the buttons arround our houses.
it would be really nice to have a button that could turn on / turn of other devices - if the server could somehow tell that a pushbutton has been pressed.
:slight_smile:

1 Like

Hi Magnus,
thanks for the update! I just installed it within my home assistant (was running the previous version as a seperate docker on my NAS). Works directly as a charm! Big compliments!

In addition if we could pull the stored automation from the enet server… :relaxed:

Thank you, appreciate the feedback!

Jeroen,

I have spent quite some time trying to find a way to list all scenes and to activate scenes, but with no success.

I have found that there is support for a fixed amount of scenes. Each device has a parameter array named PT_INDA.SCV1[] specifying the desired value for that scene. I have not found what maps scene name to that array. So potentially we can go through each. device and look at all those params to figure out the scenes that is stored on the server. I have not spent time on it, as it is not very useful to me.

Hi Magnus,
Thanks for all the efforts! I just installed the repo via HACS on my HA system, but getting these errors in logs. Any idea?

Home Assistant 2022.10.5 Supervisor 2022.10.0 Operating System 9.3 Frontend-versie: 20221010.0 - latest

Thanks!

2022-10-30 09:29:33.908 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration enet which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant

2022-10-30 09:29:33.909 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant

2022-10-30 09:29:48.578 WARNING (MainThread) [homeassistant.components.light] Setup of light platform enet is taking over 10 seconds.

2022-10-30 09:29:49.756 WARNING (MainThread) [custom_components.enet.aioenet] Unknown device: typeID=DVT_SENSIQv2 name=IR sensor

2022-10-30 09:29:49.757 WARNING (MainThread) [custom_components.enet.aioenet] Unknown device: typeID=DVT_WS1BJF50L name=Badkamer

2022-10-30 09:29:49.757 WARNING (MainThread) [custom_components.enet.aioenet] Unknown device: typeID=DVT_WS2BJ name=Werkkamer

2022-10-30 09:29:49.757 ERROR (MainThread) [homeassistant.components.light] Error while setting up enet platform for light

Traceback (most recent call last):

File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 281, in _async_setup_platform

await asyncio.shield(task)

File "/config/custom_components/enet/light.py", line 15, in async_setup_entry

devices = await hub.get_devices()

File "/config/custom_components/enet/aioenet.py", line 105, in get_devices

device.location = device_locations[device.uid]

AttributeError: 'NoneType' object has no attribute 'uid'

Hi Marko,

I sent you a private message regarding this.

I just installed this really awesome integration.
Thanks a lot for your great work :+1:

Thank you Oliver!