Ich habe die Tage angefangen mal meine Wohnung etwas smarter zu gestalten. Dafür habe ich mir im Angebot einige Eqiva Bluetooth Thermostate gekauft. Nun wollte ich Openhab 3 nutzen um diese zu visualisieren. Dafür habe ich die Anleitung von https://www.boringhome.de/eqiva-thermostat-openhab/ verwendet. Dies funktioniert bis zu dem Punkt wo ich die items, http.cfg und sitemap anlege. Die JSON wird kreiert und auf diese kann ich auch zugreifen.
Jedoch wird dies leider nicht korrekt in mein BasicUI überführt.
Der Inhalt meiner thermostat.items sieht folgendermaßen aus:
Code: Alles auswählen
Number thermostat_wz "Thermostat Wohnzimmer [%.1f °C]" <temperature> { http=">[*:GET:http://openhabian/eq3.php?mac=XX-XX-XX-XX-XX-XX&temperature=%2$s{Authorization=Basic SECRET}] <[thermostatWohnzimmer:600000:JSONPATH($.temperature)]" }
Switch thermostat_wz_mode "Thermostat Auto [%s]" { http=">[*:GET:http://openhabian/eq3.php?mac=XX-XX-XX-XX-XX-XX&mode=%2$s{Authorization=Basic SECRET}] <[thermostatWohnzimmer:600000:JSONPATH($.mode.auto)]" }
Switch thermostat_wz_boost "Thermostat Boost [%s]" { http=">[*:GET:http://openhabian/eq3.php?mac=XX-XX-XX-XX-XX-XX&boost=%2$s{Authorization=Basic SECRET}] <[thermostatWohnzimmer:120000:JSONPATH($.mode.boost)]" }
Number thermostat_wz_valve "Thermostat Ventil [%.1f]" { http="<[thermostatWohnzimmer:600000:JSONPATH($.valve)]"}Code: Alles auswählen
thermostatWohnzimmer.url=http://openhabian/eq3.php?mac=XX-XX-XX-XX-XX-XX{Authorization=BasicSECRET}
thermostatWohnzimmer.updateInterval=120000Gruß Frederick