Running OH 4.2.1 on a Pi 4B
System info:
runtimeInfo:
version: 4.2.1
buildString: Release Build
locale: en-US
systemInfo:
configFolder: /etc/openhab
userdataFolder: /var/lib/openhab
logFolder: /var/log/openhab
javaVersion: 17.0.12
javaVendor: Debian
osName: Linux
osVersion: 6.6.31+rpt-rpi-v8
osArchitecture: aarch64
availableProcessors: 4
freeMemory: 512631488
totalMemory: 805306368
uptime: 946458
startLevel: 100
addons:
- automation-jsscripting
- binding-astro
- binding-denonmarantz
- binding-etherrain
- binding-exec
- binding-freecurrency
- binding-harmonyhub
- binding-icalendar
- binding-icloud
- binding-ipcamera
- binding-logreader
- binding-mail
- binding-mqtt
- binding-network
- binding-networkupstools
- binding-openweathermap
- binding-remoteopenhab
- binding-roku
- binding-tplinksmarthome
- binding-zwave
- misc-homekit
- misc-openhabcloud
- persistence-rrd4j
- transformation-jinja
- transformation-jsonpath
- transformation-map
- transformation-regex
- ui-basic
- ui-habpanel
clientInfo:
device:
ios: true
android: false
androidChrome: false
desktop: false
iphone: false
ipod: false
ipad: true
edge: false
ie: false
firefox: false
macos: false
windows: false
cordova: false
phonegap: false
electron: false
nwjs: false
os: ios
osVersion: 17.6.1
webView: false
webview: false
standalone: false
pixelRatio: 2
prefersColorScheme: light
isSecureContext: false
locationbarVisible: true
menubarVisible: true
navigator:
cookieEnabled: true
deviceMemory: N/A
hardwareConcurrency: 4
language: en-US
languages:
- en-US
onLine: true
platform: MacIntel
screen:
width: 1024
height: 1366
colorDepth: 24
support:
touch: true
pointerEvents: true
observer: true
passiveListener: true
gestures: true
intersectionObserver: true
themeOptions:
dark: light
filled: true
pageTransitionAnimation: default
bars: light
homeNavbar: default
homeBackground: default
expandableCardAnimation: default
blocklyRenderer: null
userAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15
(KHTML, like Gecko) Version/17.6.1 Safari/605.1.15
timestamp: 2024-10-09T22:13:41.852Z
The Thing for Alex Guard generates the following error.
2024-10-09 16:11:41.728 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'amazonechocontrol:smartHomeDevice:9bd684b2:f8d50521-bc97-498d-ba1d-0c2011f7b490' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): RuntimeException while processing updates
2024-10-09 16:11:41.730 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'amazonechocontrol:smartHomeDevice:9bd684b2:f8d50521-bc97-498d-ba1d-0c2011f7b490' changed from OFFLINE (COMMUNICATION_ERROR): RuntimeException while processing updates to ONLINE
2024-10-09 16:08:28.407 [DEBUG] [rol.internal.util.HttpRequestBuilder] - > POST: https://alexa.amazon.com/api/phoenix/state (available: 2)
2024-10-09 16:08:28.603 [DEBUG] [pRequestBuilder$HttpResponseListener] - < POST to https://alexa.amazon.com/api/phoenix/state: 200
2024-10-09 16:08:28.604 [DEBUG] [ernal.handler.SmartHomeDeviceHandler] - Updating states failed
java.lang.IllegalStateException: Not a JSON Object: "ARMED_STAY"
at com.google.gson.JsonElement.getAsJsonObject(JsonElement.java:101) ~[?:?]
at org.smarthomej.binding.amazonechocontrol.internal.smarthome.HandlerSecurityPanelController.updateChannels(HandlerSecurityPanelController.java:88) ~[?:?]
at org.smarthomej.binding.amazonechocontrol.internal.handler.SmartHomeDeviceHandler.updateChannelStates(SmartHomeDeviceHandler.java:279) ~[?:?]
at org.smarthomej.binding.amazonechocontrol.internal.handler.AccountHandler.updateSmartHomeState(AccountHandler.java:835) ~[?:?]
at org.smarthomej.binding.amazonechocontrol.internal.handler.AccountHandler.lambda$1(AccountHandler.java:171) ~[?:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) [?:?]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?]
at java.lang.Thread.run(Thread.java:840) [?:?]
2024-10-09 16:08:28.610 [DEBUG] [trol.internal.handler.AccountHandler] - updateSmartHomeState finished
It happens frequently and continuously:
2024-10-09 16:16:19.951 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'amazonechocontrol:smartHomeDevice:9bd684b2:f8d50521-bc97-498d-ba1d-0c2011f7b490' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): RuntimeException while processing updates
2024-10-09 16:16:19.953 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'amazonechocontrol:smartHomeDevice:9bd684b2:f8d50521-bc97-498d-ba1d-0c2011f7b490' changed from OFFLINE (COMMUNICATION_ERROR): RuntimeException while processing updates to ONLINE
2024-10-09 16:16:30.143 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'amazonechocontrol:smartHomeDevice:9bd684b2:f8d50521-bc97-498d-ba1d-0c2011f7b490' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): RuntimeException while processing updates
2024-10-09 16:16:30.145 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'amazonechocontrol:smartHomeDevice:9bd684b2:f8d50521-bc97-498d-ba1d-0c2011f7b490' changed from OFFLINE (COMMUNICATION_ERROR): RuntimeException while processing updates to ONLINE
2024-10-09 16:16:43.653 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'amazonechocontrol:smartHomeDevice:9bd684b2:f8d50521-bc97-498d-ba1d-0c2011f7b490' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): RuntimeException while processing updates
2024-10-09 16:16:43.654 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'amazonechocontrol:smartHomeDevice:9bd684b2:f8d50521-bc97-498d-ba1d-0c2011f7b490' changed from OFFLINE (COMMUNICATION_ERROR): RuntimeException while processing updates to ONLINE
2024-10-09 16:16:53.935 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'amazonechocontrol:smartHomeDevice:9bd684b2:f8d50521-bc97-498d-ba1d-0c2011f7b490' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): RuntimeException while processing updates
2024-10-09 16:16:53.936 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'amazonechocontrol:smartHomeDevice:9bd684b2:f8d50521-bc97-498d-ba1d-0c2011f7b490' changed from OFFLINE (COMMUNICATION_ERROR): RuntimeException while processing updates to ONLINE
2024-10-09 16:17:04.140 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'amazonechocontrol:smartHomeDevice:9bd684b2:f8d50521-bc97-498d-ba1d-0c2011f7b490' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): RuntimeException while processing updates
2024-10-09 16:17:04.148 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'amazonechocontrol:smartHomeDevice:9bd684b2:f8d50521-bc97-498d-ba1d-0c2011f7b490' changed from OFFLINE (COMMUNICATION_ERROR): RuntimeException while processing updates to ONLINE
2024-10-09 16:17:14.343 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'amazonechocontrol:smartHomeDevice:9bd684b2:f8d50521-bc97-498d-ba1d-0c2011f7b490' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): RuntimeException while processing updates
2024-10-09 16:17:14.344 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'amazonechocontrol:smartHomeDevice:9bd684b2:f8d50521-bc97-498d-ba1d-0c2011f7b490' changed from OFFLINE (COMMUNICATION_ERROR): RuntimeException while processing updates to ONLINE
2024-10-09 16:17:24.531 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'amazonechocontrol:smartHomeDevice:9bd684b2:f8d50521-bc97-498d-ba1d-0c2011f7b490' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): RuntimeException while processing updates
2024-10-09 16:17:24.532 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'amazonechocontrol:smartHomeDevice:9bd684b2:f8d50521-bc97-498d-ba1d-0c2011f7b490' changed from OFFLINE (COMMUNICATION_ERROR): RuntimeException while processing updates to ONLINE
2024-10-09 16:17:34.722 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'amazonechocontrol:smartHomeDevice:9bd684b2:f8d50521-bc97-498d-ba1d-0c2011f7b490' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): RuntimeException while processing updates
2024-10-09 16:17:34.727 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'amazonechocontrol:smartHomeDevice:9bd684b2:f8d50521-bc97-498d-ba1d-0c2011f7b490' changed from OFFLINE (COMMUNICATION_ERROR): RuntimeException while processing updates to ONLINE
2024-10-09 16:17:48.163 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'amazonechocontrol:smartHomeDevice:9bd684b2:f8d50521-bc97-498d-ba1d-0c2011f7b490' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): RuntimeException while processing updates
2024-10-09 16:17:48.164 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'amazonechocontrol:smartHomeDevice:9bd684b2:f8d50521-bc97-498d-ba1d-0c2011f7b490' changed from OFFLINE (COMMUNICATION_ERROR): RuntimeException while processing updates to ONLINE
2024-10-09 16:17:58.419 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'amazonechocontrol:smartHomeDevice:9bd684b2:f8d50521-bc97-498d-ba1d-0c2011f7b490' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): RuntimeException while processing updates
2024-10-09 16:17:58.420 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'amazonechocontrol:smartHomeDevice:9bd684b2:f8d50521-bc97-498d-ba1d-0c2011f7b490' changed from OFFLINE (COMMUNICATION_ERROR): RuntimeException while processing updates to ONLINE
2024-10-09 16:18:08.630 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'amazonechocontrol:smartHomeDevice:9bd684b2:f8d50521-bc97-498d-ba1d-0c2011f7b490' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): RuntimeException while processing updates
2024-10-09 16:18:08.630 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'amazonechocontrol:smartHomeDevice:9bd684b2:f8d50521-bc97-498d-ba1d-0c2011f7b490' changed from OFFLINE (COMMUNICATION_ERROR): RuntimeException while processing updates to ONLINE
2024-10-09 16:18:18.797 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'amazonechocontrol:smartHomeDevice:9bd684b2:f8d50521-bc97-498d-ba1d-0c2011f7b490' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): RuntimeException while processing updates
2024-10-09 16:18:18.799 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'amazonechocontrol:smartHomeDevice:9bd684b2:f8d50521-bc97-498d-ba1d-0c2011f7b490' changed from OFFLINE (COMMUNICATION_ERROR): RuntimeException while processing updates to ONLINE
2024-10-09 16:18:29.000 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'amazonechocontrol:smartHomeDevice:9bd684b2:f8d50521-bc97-498d-ba1d-0c2011f7b490' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): RuntimeException while processing updates
2024-10-09 16:18:29.009 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'amazonechocontrol:smartHomeDevice:9bd684b2:f8d50521-bc97-498d-ba1d-0c2011f7b490' changed from
It seems like it is functioning as expected. My use case is that when presence detection determines that no one is present, it activates Alexa Guard which then randomly turns lights on and off.
openhabian@oh-m:/var/log/openhab $ zcat events.log.7.gz | grep -i armState
2024-10-08 07:50:05.342 [INFO ] [openhab.event.ItemCommandEvent ] - Item 'MidwayAlexaGuard_ARMState' received command ARMED_AWAY
2024-10-08 07:50:05.349 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'MidwayAlexaGuard_ARMState' predicted to become ARMED_AWAY
2024-10-08 07:50:05.355 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'MidwayAlexaGuard_ARMState' changed from ARMED_STAY to ARMED_AWAY
2024-10-08 08:10:54.122 [INFO ] [openhab.event.ItemCommandEvent ] - Item 'MidwayAlexaGuard_ARMState' received command ARMED_STAY
2024-10-08 08:10:54.136 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'MidwayAlexaGuard_ARMState' predicted to become ARMED_STAY
2024-10-08 08:10:54.141 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'MidwayAlexaGuard_ARMState' changed from ARMED_AWAY to ARMED_STAY
2024-10-08 10:05:17.497 [INFO ] [openhab.event.ItemCommandEvent ] - Item 'MidwayAlexaGuard_ARMState' received command ARMED_AWAY
2024-10-08 10:05:17.500 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'MidwayAlexaGuard_ARMState' predicted to become ARMED_AWAY
2024-10-08 10:05:17.500 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'MidwayAlexaGuard_ARMState' changed from ARMED_STAY to ARMED_AWAY
2024-10-08 13:51:48.524 [INFO ] [openhab.event.ItemCommandEvent ] - Item 'MidwayAlexaGuard_ARMState' received command ARMED_STAY
2024-10-08 13:51:48.530 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'MidwayAlexaGuard_ARMState' predicted to become ARMED_STAY
2024-10-08 13:51:48.537 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'MidwayAlexaGuard_ARMState' changed from ARMED_AWAY to ARMED_STAY
openhabian@oh-m:/var/log/openhab $
But it sure generates a lot of chatter in the log. I haven’t a clue of how to go about troubleshooting this.