reinstalled evok -master today but unfortunately the filter function with "temp" or "sensor" did not work for ds2438.
I am using a Raspi 3 with wifi. Although I had the system error message my App runs ok. When I did the last update of evok in January there was no error when I selected no for wifi.
today I installed python 3.6.4. in order to try quart (async server replacement for Flask)
Now runing my Flask app I get the following messag when excecuting this line :
ws = websocket.WebSocketApp(url, on_message = self._on_message, on_error = self._on_error, on_close = self._on_close)
websocket has no such attribute
do you know a websocket module that runs on python 3.6.4?
I just updated my evok today. It worked ok until I reached install wifi(y/n). I entered no and after a while the system came back with an internal error. Older evok versions did not have this problem.
Fortunately my application is still running after reboot but I would suggest that you better check it.
when will the update be done for the counter problem on unipi1.1?
Also I am still not successful in filtering devices in the evok web-socket interface. I found an example on your web site doing the filtering in the on.open function of web-socket. Unfortunately it does not work.
there is only one issue left that I want to solve.
I want to filter out the "temp" events within evoc websocket events. I tried websocket interface and HTTP Client. Both without success.
Currrently I filter the "temp" devices in my python program when reading websocket events. But I would suppose doing it within evok would be better and faster.
I raised this issue already in december but did not get a working response due to you being on vacation.
after reinstalling evok everything is ok!
Many thanks for your professional support.
have alook at my trainings unipi control panel 220.127.116.11
temp devices get updated every minute and the other devices uses evok websocket events.
thanks for your fast response, but that's what I get now:
Traceback (most recent call last): File "/home/pi/part_10/webapp/UniPi_devices.py", line 9, in <module> records = unipi.get_all_devices("j") File "/home/pi/part_10/webapp/UniPi_interface_class.py", line 56, in get_all_devices res = urllib.request.urlopen(url_rest).read() File "/usr/lib/python3.5/urllib/request.py", line 163, in urlopen return opener.open(url, data, timeout) File "/usr/lib/python3.5/urllib/request.py", line 472, in open response = meth(req, response) File "/usr/lib/python3.5/urllib/request.py", line 582, in http_response 'http', request, response, code, msg, hdrs) File "/usr/lib/python3.5/urllib/request.py", line 510, in error return self._call_chain(*args) File "/usr/lib/python3.5/urllib/request.py", line 444, in _call_chain result = func(*args) File "/usr/lib/python3.5/urllib/request.py", line 590, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 502: Bad Gateway
Hope the problem is not to bad ...
Looks like your connection to UniPi.technology Forum was lost, please wait while we try to reconnect.