Does anyone have ADS component up and running on a raspi 3 hassIO? I only get this error
Error during setup of component ads
Traceback (most recent call last):
File “/usr/local/lib/python3.6/site-packages/homeassistant/setup.py”, line 148, in _async_setup_component
component.setup, hass, processed_config) # type: ignore
File “/usr/local/lib/python3.6/concurrent/futures/thread.py”, line 56, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/local/lib/python3.6/site-packages/homeassistant/components/ads/init.py”, line 57, in setup
import pyads
File “/usr/local/lib/python3.6/site-packages/pyads/init.py”, line 5, in
from .ads import open_port, close_port, get_local_address, read_state,
File “/usr/local/lib/python3.6/site-packages/pyads/ads.py”, line 23, in
from .pyads_ex import (
File “/usr/local/lib/python3.6/site-packages/pyads/pyads_ex.py”, line 46, in
_adsDLL = ctypes.CDLL(adslib)
File “/usr/local/lib/python3.6/ctypes/init.py”, line 348, in init
self._handle = _dlopen(self._name, mode)
OSError: Error loading shared library /usr/local/lib/python3.6/site-packages/pyads/adslib.so: Exec format error
Error during setup of component ads
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/homeassistant/setup.py", line 148, in _async_setup_component
component.setup, hass, processed_config) # type: ignore
File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/ads/__init__.py", line 57, in setup
import pyads
File "/usr/local/lib/python3.6/site-packages/pyads/__init__.py", line 5, in <module>
from .ads import open_port, close_port, get_local_address, read_state, \
File "/usr/local/lib/python3.6/site-packages/pyads/ads.py", line 23, in <module>
from .pyads_ex import (
File "/usr/local/lib/python3.6/site-packages/pyads/pyads_ex.py", line 46, in <module>
_adsDLL = ctypes.CDLL(adslib)
File "/usr/local/lib/python3.6/ctypes/__init__.py", line 348, in __init__
self._handle = _dlopen(self._name, mode)
OSError: Error loading shared library /usr/local/lib/python3.6/site-packages/pyads/adslib.so: Exec format error
Anyone have succeeded in this ADS component anyway?
I mannaged to acces my variables via HTTP post and get. For example:
OK, I think i’ve got it. So I install hassbian instead of hass.io and ads suddenly work just fine! I guess this ADS component does not work with hass.io, only with hassbian.