Dim
(Angelos)
December 21, 2018, 11:30pm
24
looks like you are back up now
time to clean up some other issues:
do you need the embedded MQTT Broker?
looks like you are using already another Broker on your system (maybe Mosquitto?) that is conflicting with the embedded.
If you are using an external broker, uninstall the embedded broker addon
Ps: When starting code fences, use: ``` in one line, paste the stuff in the next line and at the end close the code with another ``` in a new line
like this:
```
code/logā¦
code/logā¦
code/logā¦
code/logā¦
code/logā¦
code/logā¦
```
Taffy
(Rhys)
December 21, 2018, 11:50pm
25
2018-12-21 23:31:33.089 [INFO ] [core.karaf.internal.FeatureInstaller] - Uninstalled 'openhab-misc-mqttbroker'
2018-12-21 23:38:00.070 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'Bedroom_Temperature' for widget org.eclipse.smarthome.model.sitemap.Text
2018-12-21 23:38:00.076 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'Bedroom_Temperature' for widget org.eclipse.smarthome.model.sitemap.Text
2018-12-21 23:38:00.081 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Text
2018-12-21 23:38:03.534 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'Bedroom_Temperature' for widget org.eclipse.smarthome.model.sitemap.Text
2018-12-21 23:38:03.541 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'Bedroom_Temperature' for widget org.eclipse.smarthome.model.sitemap.Text
2018-12-21 23:38:03.546 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Text
2018-12-21 23:38:03.743 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'Bedroom_Temperature' for widget org.eclipse.smarthome.model.sitemap.Text
2018-12-21 23:38:03.748 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'Bedroom_Temperature' for widget org.eclipse.smarthome.model.sitemap.Text
2018-12-21 23:38:03.752 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Text
2018-12-21 23:38:07.243 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'Bedroom_Temperature' for widget org.eclipse.smarthome.model.sitemap.Text
2018-12-21 23:38:07.245 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'Bedroom_Temperature' for widget org.eclipse.smarthome.model.sitemap.Text
2018-12-21 23:38:07.248 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Text
2018-12-21 23:38:07.407 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'Bedroom_Temperature' for widget org.eclipse.smarthome.model.sitemap.Text
2018-12-21 23:38:07.410 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'Bedroom_Temperature' for widget org.eclipse.smarthome.model.sitemap.Text
2018-12-21 23:38:07.414 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Text
2018-12-21 23:38:09.057 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'Bedroom_Temperature' for widget org.eclipse.smarthome.model.sitemap.Text
2018-12-21 23:38:09.061 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'Bedroom_Temperature' for widget org.eclipse.smarthome.model.sitemap.Text
2018-12-21 23:38:09.067 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Text
2018-12-21 23:38:09.299 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'Bedroom_Temperature' for widget org.eclipse.smarthome.model.sitemap.Text
2018-12-21 23:38:09.305 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'Bedroom_Temperature' for widget org.eclipse.smarthome.model.sitemap.Text
2018-12-21 23:38:09.310 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Text
2018-12-21 23:38:12.811 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'Bedroom_Temperature' for widget org.eclipse.smarthome.model.sitemap.Text
2018-12-21 23:38:12.815 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'Bedroom_Temperature' for widget org.eclipse.smarthome.model.sitemap.Text
2018-12-21 23:38:12.820 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Text
2018-12-21 23:38:13.012 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'Bedroom_Temperature' for widget org.eclipse.smarthome.model.sitemap.Text
2018-12-21 23:38:13.015 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'Bedroom_Temperature' for widget org.eclipse.smarthome.model.sitemap.Text
2018-12-21 23:38:13.019 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Text
2018-12-21 23:38:15.006 [WARN ] [io.openhabcloud.internal.CloudClient] - Jetty request 510564 failed: null
2018-12-21 23:38:15.012 [WARN ] [io.openhabcloud.internal.CloudClient] - Response Failure: null
2018-12-21 23:38:43.633 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'Bedroom_Temperature' for widget org.eclipse.smarthome.model.sitemap.Text
2018-12-21 23:38:43.637 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'Bedroom_Temperature' for widget org.eclipse.smarthome.model.sitemap.Text
2018-12-21 23:38:43.640 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Text
Dim
(Angelos)
December 21, 2018, 11:53pm
26
this is another kind of problem. In your sitemap, you refer to an Item with a name Bedroom_Temperature
does this Item exist?
this is just a warning. have you configured properly the openhabcloud connector?
this needs some attention as well. check the contents of this file.
Taffy
(Rhys)
December 22, 2018, 12:15am
27
Bedroom_Temperature does exist in both files but doesnāt have any mqtt lines associated with it yet.
I have had the cloud connector configured for months and it has been fine.
The home.things file is empty apart from /this is the things file
Change to //this I the things file
and I think thatās solved it
Dim
(Angelos)
December 22, 2018, 12:17am
28
it doesnāt have to have any binding (mqtt or other) configured
it just has to exist (with a name) if you need to use it in your sitemap
can you post its definition from the items file to check it?
there is a reason why your sitemap is screaming that it cannot find it
correct. comments are with 2 forward slashes.
Taffy
(Rhys)
December 22, 2018, 12:23am
29
Number Bed_Temperature "temperature [%.1f]" <temperature>
Dim
(Angelos)
December 22, 2018, 12:25am
30
Ok, here are your Java upgrade instructions: follow them step by step:
sudo su
apt-get update && apt-get install dirmngr
echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" | sudo tee /etc/apt/sources.list.d/oracle.list
echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" | sudo tee -a /etc/apt/sources.list.d/oracle.list
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys EEA14886
apt-get update && apt-get install oracle-java8-installer oracle-java8-set-default
apt-get purge zulu-embedded-8 oracle-java8-jdk
say goodbye to Zulu, say hello to Oracle with apt
check with
java -version
Dim
(Angelos)
December 22, 2018, 12:26am
31
Taffy:
Bed_Temperature
openHAB2 is not so smart yet to translate Bed
to Bedroom
We donāt have Machine Learning algorithms embedded into OH2 yet
remember the error:
Cannot retrieve item 'Bedroom_Temperature'
Taffy
(Rhys)
December 22, 2018, 12:53am
32
Java updated. Item updated but still my items arenāt responding and they log is saying jetty error
Dim
(Angelos)
December 22, 2018, 12:54am
33
I need to see the logs
what do you mean āarenāt respondingā? when using the sitemap? directly or via openHAB Cloud?
Taffy
(Rhys)
December 22, 2018, 7:08am
34
Both basic ui on web interface and cloud, the items for example a light responds to commands I send from my mqtt tool though. So somethingās missing somewhere
Dim
(Angelos)
December 22, 2018, 7:11am
35
most likely your MQTT addon has lost its connection to the Broker
which broker are you using? Mosquitto?
since you recently upgraded to 2.4.0 stable, keep in mind that the existing MQTT v1 binding has been automagically uninstalled for you since you are supposed to work with the new MQTT v2 binding.
To bring back MQTT v1 to life, enable Legacy Addons from PaperUI and install MQTT v1 again.
Taffy
(Rhys)
December 22, 2018, 7:30am
36
I have enabled legacy adding and saved configuration but the v1 mqtt binding isnāt appearing?
Dim
(Angelos)
December 22, 2018, 7:34am
37
restart OH2 (it shouldnāt be needed) just to be sure
check again in PaperUI the addons. it should appear
Taffy
(Rhys)
December 22, 2018, 7:47am
38
Restarted OH2 and I cannot access the web interface now I get this message on my browser
HTTP ERROR 404
Problem accessing /start/index. Reason:
Not Found
Powered by Jetty:// 9.4.11.v20180605
UPDATE!
Can now access web interface and all my items are responding
Dim
(Angelos)
December 22, 2018, 7:50am
39
be patient
you are running OH2 on an rPi3 which takes a few seconds to startup the OH2 service
Taffy
(Rhys)
December 22, 2018, 7:59am
41
Haha thank you for your help. Just a little note though. When I log into ssh using the terminal shows me the status of the system ie if there is any updates and cpu usage. In its place now is this.
2018-12-22 07:31:58,292: FireMotD: Info: No FireMotD ExportFile detected. Please generate with "sudo .\FireMotD -S"
So I used the stated command and it said command unknown ?
1 Like
Dim
(Angelos)
December 22, 2018, 8:01am
42
Personally, I donāt use openHABian (I should⦠I know )
check this out: [SOLVED] OpenHAB 2.3.0-1 Stable: No FireMotD ExportFile detected
Taffy
(Rhys)
December 22, 2018, 8:12am
43
Thatās solved it. I had to go into openhabian-Config and apply improvements to the firemotd then regenerate the command
P.s I canāt believe you donāt use openhabian. Thanks again for your help Dim. Your are a legend
1 Like