I thought I would give RC1 on my raspberry pi 3 a try. This was running the last snapshot version. I did the following:
a) uninstall openhab as per documentation:
sudo apt-get purge openhab2*
sudo rm /etc/apt/sources.list.d/openhab2.list
b) updated repository
echo 'deb http://dl.bintray.com/openhab/apt-repo2 testing main' | sudo tee /etc/apt/sources.list.d/openhab2.list
c) Install
sudo apt-get update
sudo apt-get install openhab2
d) Start
sudo systemctl start openhab2.service
sudo systemctl status openhab2.service
sudo systemctl daemon-reload
sudo systemctl enable openhab2.service
e) Selected Standard System, installed my bindings, set sitemap to ‘home’ and copied my configuration files across.
f) Browsing to the UI gave a site not found error but a sudo reboot corrected this.
My main binding is MQTT and that works but I had to uninstall it and reinstall it to get that going. However, I’m having problems with the following bindings:
-
NTP: I can’t get the datetime through ntp as used by the demo configuration
-
ASTRO: This doesn’t work. Files exactly the same as the demo configuration
-
Weather: Gets correct weather details in items but get the following when using example.html:
javax.servlet.ServletException: File with weather layout ‘example.html’ does not exist, make sure it is in the layouts folder ./webapps/weather-data/layouts
There is no reference to ntp or astro in the openhab.log.
I also got exactly the same results running RC1 on my windows PC. Interestingly (have only tried this on windows), if I select demo (rather than Standard), change the sitemap to ‘home’ and replace the demo files with my home files, the NTP and ASTRO work. Weather via example.html doesn’t.