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.
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.
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?
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’
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.
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.
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 :))
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.
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.
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!
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'