omenwild / home-assistant-z-wave-graph Goto Github PK
View Code? Open in Web Editor NEWGraph your Z-Wave mesh automatically from within Home Assistant.
License: GNU General Public License v3.0
Graph your Z-Wave mesh automatically from within Home Assistant.
License: GNU General Public License v3.0
I´ve installed this in a venv and it triggers an error not finding homeasstiant.remote.
I have however not find how to install this manually..
This results in my log being filled with:
2019-03-31 22:00:00 ERROR (MainThread) [homeassistant.components.shell_command] Error running command: `/home/hass/homeassistant/bin/python3 /home/hass/.homeassistant/z-wave-graph.py`, return code: 1
NoneType:
Any help appreciated.
This script doesn’t work anymore on HA 0.77 and up … I get the following error:
/usr/local/bin/python3 /config/bin/z-wave-graph.py Traceback (most recent call last): File "/config/bin/z-wave-graph.py", line 36, in <module> import homeassistant.remote as remote ModuleNotFoundError: No module named 'homeassistant.remote'
related to #13, but different. With the ease of use HACS creates, it's truly a boon for novices like me.
Hi Omen,
Thank you for your work. I tried to extend my hass.io installation with your z-wave-graph script. I followed the instructions in the README.md file.
Unfortunaly, it doesn't work, I received the following message in the Home Assistant logs (dev-info):
Error running command: /usr/bin/python3 /usr/bin/z-wave-graph.py --debug
, return code: 2
NoneType: None
Can you help me? Thanks in advance
I've masked my URL, but otherwise, the below is what I get when executing z-wave-graph.py
:
Traceback (most recent call last):
File "z-wave-graph.py", line 337, in <module>
zwave = ZWave(config, args)
File "z-wave-graph.py", line 195, in __init__
m = self.request('/')
File "z-wave-graph.py", line 213, in request
response = get(url, headers=headers)
File "/usr/local/lib/python3.7/site-packages/requests/api.py", line 75, in get
return request('get', url, params=params, **kwargs)
File "/usr/local/lib/python3.7/site-packages/requests/api.py", line 60, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 533, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 640, in send
adapter = self.get_adapter(url=request.url)
File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 731, in get_adapter
raise InvalidSchema("No connection adapters were found for '%s'" % url)
requests.exceptions.InvalidSchema: No connection adapters were found for '*<MyURL>*:8123/api/'
I'm running HA in docker, and I've followed the notes that were left on the readme.
I'm executing the command with /usr/local/bin/python3 /config/bin/z-wave-graph.py
, which is where z-wave-graph.py
is located in my share. It gives this error when running from the shell. The output from home-assistant.log
is:
2019-07-17 13:05:05 ERROR (MainThread) [homeassistant.components.shell_command] Error running command: `/usr/local/bin/python3 /config/bin/z-wave-graph.py`, return code: 1
NoneType: None
It would be great if your project supported the custom_updator so we can keep track up any changes within HASS and update from the project.
With my 5 nodes the display is quite scattered and I was unable to get the fonts of the nodes to change. If anyone has any hints they would be greatly appreciated.
When trying to run the python command I get the following error:
(homeassistant) raspberrypi% python3 ./bin/z-wave-graph.py
Error fetching states
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/remote.py", line 206, in get_states
item in req.json()]
File "/srv/homeassistant/lib/python3.5/site-packages/requests/models.py", line 892, in json
return complexjson.loads(self.text, **kwargs)
File "/usr/lib/python3.5/json/__init__.py", line 319, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.5/json/decoder.py", line 342, in decode
raise JSONDecodeError("Extra data", s, end)
json.decoder.JSONDecodeError: Extra data: line 1 column 4 (char 3)
Check to make sure the HA object actually works. I think that failure to login to the API is the root cause of most of the JSON issues.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.