-
Notifications
You must be signed in to change notification settings - Fork 1
Upgrading smarthomeNG.py V1.1 to V1.2
wvhn edited this page Nov 3, 2016
·
4 revisions
V1.2 comes with a new logging format based on yaml. To support this, we need to install pyyaml:
sudo pip install pyyaml
There is a great backend plugin now in V1.2. To run it, two more packages need to be installed:
sudo pip install cherrypy
sudo pip install jinja2
Upgrading smarthomeNG to version 1.2 is quite easy. Enter the folder /usr/smarthome and type
git pull
As long as you haven't changed any of the original files of V1.1 the upgrade will run without problems. Otherwise you need to commit your changes or revert them before upgrading.
Since the smartvisu plugins have changed in V1.2, etc/plugin.conf needs to be changed:
[visu]
class_name = WebSocket
class_path = plugins.visu_websocket
# ip='0.0.0.0'
# port=2424
# tls = no
wsproto = 3
# acl = ro
Restart smarthome with
sudo service smarthome restart