i’m trying to integrate your version, but i’m getting this:
Error setting up platform timebox
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/notify/__init__.py", line 78, in async_setup_platform
platform.get_service, hass, p_config, discovery_info
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/homeassistant/.homeassistant/custom_components/timebox/notify.py", line 57, in get_service
image_dir)
File "/home/homeassistant/.homeassistant/custom_components/timebox/notify.py", line 63, in __init__
from timebox import TimeBox
ModuleNotFoundError: No module named 'timebox'
Error setting up platform timebox
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/components/notify/init.py”, line 78, in async_setup_platform
platform.get_service, hass, p_config, discovery_info
File “/usr/local/lib/python3.7/concurrent/futures/thread.py”, line 57, in run
result = self.fn(*self.args, **self.kwargs)
File “/config/custom_components/timebox/notify.py”, line 55, in get_service
image_dir)
File “/config/custom_components/timebox/notify.py”, line 61, in init
from timebox import TimeBox
ModuleNotFoundError: No module named ‘timebox’
It looks like the backend library is also no longer compatible with the version of python 3 Home Assistant uses, and will need some updating.
Sorry, but I no longer have the hardware capable of testing this this component any more, so I’m not really in a position to get it up to date.
Is there any way we can help with testing (since we have the hardware)…I mean if it’s not that much work on your end (I really can’t estimate what it would take to update it).
Hey, I have looked into it, let me give you an update.
The main problem is that there is no python libraries / tools to connect with the Timebox that works at this time.
The protocol evolve and libraries needs to be updated to keep working.
I have looked into these github projects:
ScR4tCh/timebox
derHeinz/divoom-adapter
DavidVentura/divoom
This require a quite important amount of work to fix these library without previous knowledge on this.
For reference there is one javascript library that is working (but we need a python library):
If one of the python libraries get updated feel free to ping me, I will happily update / implement a timebox custom component.
I have implemented a custom component to interact with the Timebox Evo and it works like a charm
The installation process is a bit more complex because it require to install a web server to use the JavaScript library. I have made a docker container for it.
It have some cool features, such as displaying an image only from an url or directly from a png. I have an automation that display on the Timebox the album cover of the current music.
Hi, first of all, thanks a lot for doing this! This is for whoever like me spent hours trying to make this work with this setup:
Using Virtualbox image from Home Assistant website
Because the Home Assistant OS is specific, it’s not a regular linux that we can log in and run docker, etc I needed to run another virtualbox with a regular linux, then ran the docker as the documentation guides
Then I had to make my Home Assistant connect to a different IP address on the port 5555
I was receiving error on loading the notify.timebox I fixed it by editing the file \custom_components\timebox\notify.py and setting the TIMEOUT = 15 (it was 5 and was giving me timeout) try larger numbers if you are also having this problem.
Excellent work! Any future plans to make it work on HAOS? Bummer that it won’t do that as of now (if I understand corrently. I had considered running it via Docker under Dietpi on a Pine A64 until I realized that the Pine didn’t have BT.
I will be checking regularly if there is viable python library to interact with the Timebox, if there is one I would update it to make it easier to setup.