Hi
I just learned about openhab and Enocean devices. I have read one topic (Enocean Binding: Textfile configuration not working, while same config working via PaperUI – jrieder)
When I used his code and tested it, it didn’t show up on BasicUI.
Can anyone help me?
I am using 1 USB 300 DB enocean (ID 018BDA99) and 1 temperatureHumiditySensor enocean (ID 018148FE). If I have forgotten anything information, please let me know.
I hope you can help me fix bugs and run the program.
Thank you very much
Here are my files
File home.things:
Bridge enocean:bridge:018BDA99 “EnOcean Gateway USB300 No1 018BDA99” [ path="/dev/ttyUSB0", rs485=false ]
{
Thing temperatureHumiditySensor thingSensorTempHumidity1 “TempHumiditySensor_1” @ “OG_SZ” [ enoceanId=“018148FE”, receivingEEPId=“A5_04_01”]
}
File home.items:
Number:Temperature Interior_Temp_Air_Sensor02 “Innentemperatur OG SZ [%.1f °C]” (gOG) {channel=“enocean:temperatureHumiditySensor:018BDA99:thingSensorTempHumidity1:temperature”}
Number Interior_Humidity_Air_Sensor02 “Hygrom. OG SZ [%.1f %% rF]” (gOG,gOnline) {channel=“enocean:temperatureHumiditySensor:018BDA99:thingSensorTempHumidity1:humidity”}
Number Interior_Air_Sensor02_rssi “OG SZ Stat rssi” (gOG) {channel=“enocean:temperatureHumiditySensor:018BDA99:thingSensorTempHumidity1:rssi”}
Number Interior_Air_Sensor02_repeatCount “OG SZ Stat repeatCount” (gOG) {channel=“enocean:temperatureHumiditySensor:018BDA99:thingSensorTempHumidity1:repeatCount”}
DateTime Interior_Air_Sensor02_channel_lastReceived “OG SZ Stat lastReceived” (gOG) {channel=“enocean:temperatureHumiditySensor:018BDA99:thingSensorTempHumidity1:lastReceived”}
File home.sitemap:
sitemap myhome label=“MyHome”{
Frame label=“Sensor”{
Text label=“room” icon=“sofa” {
Text item=Interior_Temp_Air_Sensor02
Text item=Interior_Humidity_Air_Sensor02
Text item=Interior_Air_Sensor02_rssi
Text item=Interior_Air_Sensor02_repeatCount
Text item=Interior_Air_Sensor02_channel_lastReceived
}
}
When I type the command log: tail, it display :
08:26:25.293 [WARN ] [del.core.internal.ModelRepositoryImpl] - Configuration model ‘home.sitemap’ has errors, therefore ignoring it: [9,3]: mismatched input ‘’ expecting ‘}’
08:26:26.726 [INFO ] [ternal.transceiver.EnOceanTransceiver] - Transceiver shutdown
08:26:26.728 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - ‘enocean:bridge:018BDA99’ changed from OFFLINE (CONFIGURATION_ERROR): Port could not be found to OFFLINE (CONFIGURATION_PENDING): opening serial port…
08:26:27.101 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - ‘enocean:bridge:018BDA99’ changed from OFFLINE (CONFIGURATION_PENDING): opening serial port… to OFFLINE (CONFIGURATION_ERROR): Port could not be found
On file .logs
2020-06-03 06:52:46.522 [ERROR] [io.openhabcloud.internal.CloudClient] - Error connecting to the openHAB Cloud instance: not authorized
2020-06-03 06:53:45.864 [INFO ] [ernal.transceiver.EnOceanTransceiver] - Transceiver shutdown
2020-06-03 08:35:32.607 [WARN ] [el.core.internal.ModelRepositoryImpl] - Configuration model ‘home.sitemap’ has errors, therefore ignoring it: [9,3]: mismatched input ‘’ expecting ‘}’
"2020-06-03 08:35:32.607 [WARN ] [el.core.internal.ModelRepositoryImpl] - Configuration model ‘home.sitemap’ has errors, therefore ignoring it: [9,3]: mismatched input ‘’ expecting ‘}’ "
Configuration model 'home.sitemap' has errors, therefore ignoring it: [9,3]: mismatched input '<EOF>' expecting '}'