Hi there,
My conf.
RPi4 4GB ram
DHT 16 with Tasmota firmware 6.5
openhab 2.5.0-1
In paper UI I can see my items and manage them, so I want tp share them with Alexa, Google, IOS apple, so I configured myOpenhab, and I can see the items in the apps, but I can’t change the state or see the state or the value of the temperature/humidity.
I tried to follow the on-line instruction, but I’m not able to find the solution.
For the items you listed, I would recommend sticking to tags if you need all 3 integrations.
As far as Alexa integration, the v3 skill supports v2 tags. If your devices are discovered in your Alexa account but are experiencing some issues interacting with them, make sure to go over the troubleshooting guide.
TnX H102,
Is what I’m doing, now I can switch on-off the light from Alexa ed google, but IOS system say “Non risponde” I think mean “No answer” in english.
So, now I’m looking for fix this problem and then move to other items.
Hi,
after lots test, now I can switch the item from all the system (Alexa, Google, IOS Apple, openHab sitemap), but I tried to configure a temperature item and, I can see the value from openhab PaperUI, but not from the sitemap, I can see the value from Alexa, but not from the other system (google or IOS).
Similar for the Humidity, I can see the value from IOS, but not from google and Alexa.
I attach my items file:
Now I can use alexa correctly Switch, Temperature, Humidity.
Google is not yet working at all.
IOS as Google.
Paper UI OK
sitemap ok for switch and Humidity, but still not working the Temperature.
In the log I found:
2020-01-09 21:44:59.983 [vent.ItemStateChangedEvent] - TermostatoTorrettaCurrentTemp changed from NULL to 22.1
But This TermostatoTorrettaCurrentTemp was the name before, after I changed it in Temperatura
And also I’m trying to delete an old MQTT broker that I’not using, but at every reboot this broker is in the InBox.
I already remove the /var/lib/openhab2/mqttembedded.bin after removed the broker from PaperUI, but is still back.
Slowly, but something is changing.
I correct the problem in PaperUI about the name of Temperature link.
Now everithing is OK in PaperUI and sitemap, but I still have problems with Umidity and temperature.
Humidity is Working in Alexa, but not in Google and IOS
Temperature is working in google, and 50% in IOS.
To have the switch working I hade to take it off from Thermostat Group.
Switch Presence_iPhoneFra "Fra iPhone" <network> { channel="network:device:iPhoneFra:online" }
Switch Termostato "Termostato" (Termostato) [ "Switchable" ]
Group gTermostato "Termostato FF" (gFF) [ "Thermostat" ]
Number Temperatura "Temperatura [%.1f °C]" (gTermostato) [ "CurrentTemperature" ]
String TermostatoTorrettaHeatingCoolingMode "Temperatura FF" (gTermostato) [ "homekit:HeatingCoolingMode" ]
Number SetpointTermostato "Setpoint Temperatura %.1f °C" (gTermostato) [ "TargetTemperature" ]
Number Umidita "Umidita [%.1f %%]" (Termostato) [ "CurrentHumidity" ]
and this is the sitemap file:
sitemap default label="My first sitemap"
{
Switch item=Presence_iPhoneFra label="Fra iPhone"
Switch item=Termostato label="Termostato"
Text item=Temperatura label="Temperatura [%.1f °C]" icon="temperature" valuecolor=[>25="orange",>15="green",<=15="blue"]
Text item=Umidita label="Umidita [%.1f %%]" icon="humidity"
}
Right now almost everything is working, only the humidity is missing in google.
Then, however, I have these warnings in the log:
2020-01-09 23:50:46.814 [WARN ] [al.accessories.HomekitThermostatImpl] - The tag homekit:HeatingCoolingMode has been renamed to homekit:TargetHeatingCoolingMode; please update your things, accordingly
2020-01-09 23:50:46.818 [WARN ] [al.accessories.HomekitThermostatImpl] - The tag TargetTemperature has been renamed to homekit:TargetTemperature; please update your things, accordingly
If you created these things in paperUI and files then you may have duplicates. Have you stopped OH and cleaned cache?
The commands are:
sudo systemctl stop openhab2
sudo openhab-cli clean-cache
sudo systemctl start openhab2 or you can sudo reboot
This may help remove any duplicates if not you will need to check in /var/lib/openhab2/jsondb/org.eclipse.smarthome.core.thing.link.ItemChannelLink.json and make sure there isn’t a Link hanging around. Also, for items check: /var/lib/openhab2/jsondb/org.eclipse.smarthome.core.items.Item.json
If you see duplicates in either of these file you can remove them using text editor but make sure to stop OH before changing anything in these files. To simply look at the file you can use cat e.g. cat /var/lib/openhab2/jsondb/org.eclipse.smarthome.core.thing.link.ItemChannelLink.json
If it will not go away by removing it from PaperUI and cleaning the cache then stop OH and remove it from /var/lib/openhab2/config/org/openhab/addons.config and make sure it’s not listed in /etc/openhab2/services/addons.cfg