You can install manually or by using apt-get (the same as the openhabian image install for RPI). With the ubuntu version posted install using apt-get and follow the instructions. You may need to uninstall, remove and purge what’s been installed thus far and start over.
sudo su -s /bin/bash -c ‘/opt/openhab2/start.sh’ openhab
5. When I enter "http://10/1.68.206:8080" in browser, I am not seeing openhab dashboard.
FYI, my Java configuration details,
**_ananth@ananth:/tmp$java -version_
_openjdk version "1.8.0_181"_
_OpenJDK Runtime Environment (Zulu 8.31.0.1-linux64) (build 1.8.0_181-b02)_
_OpenJDK 64-Bit Server VM (Zulu 8.31.0.1-linux64) (build 25.181-b02, mixed mode)_
Thanks,
Dhanasekar
I can able to reach OH dashboard. I have deleted all old OH source code and it’s related files in Ubuntu system . I have followed “apt-get” automatic installation procedure for OH.
I am trying to bring sine wave in my Grafana dashboard.
I am following instruction in this link InfluxDB+Grafana persistence and graphing and I have run sample sine.py.
$ python sine.py
Traceback (most recent call last):
File “sine.py”, line 27, in
r = requests.post(“http://%s:8086/write?db=%s” %(IP, DB), auth=(USER, PASSWORD), data=v)
File “/home/ananth/.local/lib/python2.7/site-packages/requests-2.20.0-py2.7.egg/requests/api.py”, line 116, in post
return request(‘post’, url, data=data, json=json, **kwargs)
File “/home/ananth/.local/lib/python2.7/site-packages/requests-2.20.0-py2.7.egg/requests/api.py”, line 60, in request
return session.request(method=method, url=url, **kwargs)
File “/home/ananth/.local/lib/python2.7/site-packages/requests-2.20.0-py2.7.egg/requests/sessions.py”, line 533, in request
resp = self.send(prep, **send_kwargs)
File “/home/ananth/.local/lib/python2.7/site-packages/requests-2.20.0-py2.7.egg/requests/sessions.py”, line 646, in send
r = adapter.send(request, **kwargs)
File “/home/ananth/.local/lib/python2.7/site-packages/requests-2.20.0-py2.7.egg/requests/adapters.py”, line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host=‘192.168.0.2’, port=8086): Max retries exceeded with url: /write?db=test (Caused by NewConnectionError(’<urllib3.connection.HTTPConnection object at 0x7f3631961590>: Failed to establish a new connection: [Errno 110] Connection timed out’,))
While creating “Data Sources” in Grafana, When I select any of the below access type and after selecting “save and test”, I am getting below errors.
1. Access = Server (default) -----> Error : Bad Gateway (502)
or
2. Access = NetworkError: undefined (undefined).
Please help me to solve this issue and get the sine wave in Grafana dashboard.