[RESOLVED] Mode Status NULL
-
Hi @toggledbits
In version 26177, the query response now returns a value—great!
So we're still getting a null response to this query.
However, we now have an additional problem: previously, when we went to Hubutat and changed the Mode—for example, from Day to Evening—it would apply the change and start working; now this is no longer happening, and the response remains permanently “null.”
The part of the log where I'm getting an error is shown below; I'm not sure if this helps.
[latest-26177]2026-06-27T17:02:07.252Z <DynamicGroupController:INFO> DynamicGroupController#groups registering zwave_device.debug for Group#groups>dgc_PowerOutlet_OFF [latest-26177]2026-06-27T17:02:07.252Z <DynamicGroupController:INFO> DynamicGroupController#groups registering zwave_device.ping for Group#groups>dgc_PowerOutlet_OFF [latest-26177]2026-06-27T17:02:07.253Z <DynamicGroupController:INFO> DynamicGroupController#groups registering energy_sensor.reset for Group#groups>dgc_PowerOutlet_OFF [latest-26177]2026-06-27T17:02:07.297Z <HubitatController:INFO> HubitatController#hubitat Maker API responded with 101 devices [latest-26177]2026-06-27T17:02:07.329Z <HubitatController:WARN> HubitatController#hubitat native capability URL no definition data; skipped [latest-26177]2026-06-27T17:02:07.330Z <HubitatController:INFO> HubitatController#hubitat found configured probe/health check device 'Hub Information' ("7") [latest-26177]2026-06-27T17:02:07.485Z <Controller:INFO> HubitatController#hubitat 0 dead entities older than 86400000s purged [latest-26177]2026-06-27T17:02:07.503Z <HubitatController:INFO> HubitatController#hubitat connecting to hub's eventsocket WebSocket API at ws://192.168.1.15/eventsocket [latest-26177]2026-06-27T17:02:07.510Z <OWMWeatherController:ERR> OWMWeatherController#weather location home failed fetching https://api.openweathermap.org/data/2.5/weather?lat=8.975962&lon=-79.507854&appid=650d94f1d61f6e237b> [latest-26177]2026-06-27T17:02:07.511Z <OWMWeatherController:CRIT> FetchError: request to https://api.openweathermap.org/data/2.5/weather?lat=8.975962&lon=-79.507854&appid=650d94f1d61f6e237bebec455f062ec7&units=standard&_r=17> FetchError: request to https://api.openweathermap.org/data/2.5/weather?lat=8.975962&lon=-79.507854&appid=650d94f1d61f6e237bebec455f062ec7&units=standard&_r=1782579726389 failed, reason: at ClientRequest.<anonymous> (/home/wilson/reactor/node_modules/node-fetch/lib/index.js:1501:11) at ClientRequest.emit (node:events:509:28) at ClientRequest.emit (node:domain:489:12) at emitErrorEvent (node:_http_client:109:11) at TLSSocket.socketErrorListener (node:_http_client:593:5) at TLSSocket.emit (node:events:509:28) at TLSSocket.emit (node:domain:489:12) at emitErrorNT (node:internal/streams/destroy:170:8) at emitErrorCloseNT (node:internal/streams/destroy:129:3) at processTicksAndRejections (node:internal/process/task_queues:90:21) [latest-26177]2026-06-27T17:02:07.512Z <OWMWeatherController:NOTICE> OWMWeatherController#weather failures Array(1) [{ "status": "rejected", "reason": FetchError(FetchError: request to https://api.openweathermap.org/data/2.5/> [latest-26177]2026-06-27T17:02:07.512Z <OWMWeatherController:INFO> OWMWeatherController#weather done; 1 locations, 1 failed [latest-26177]2026-06-27T17:02:07.513Z <Controller:NOTICE> Controller OWMWeatherController#weather is now online. [latest-26177]2026-06-27T17:02:12.753Z <app:ERR> Trapped unhandled Promise rejection: [FetchError] Invalid response body while trying to fetch http://192.168.1.15/apps/api/8/postURL?access_token=e6d0afa6-caad-4f01-a0f3-e27bb8> [latest-26177]2026-06-27T17:02:12.753Z <app:CRIT> FetchError: Invalid response body while trying to fetch http://192.168.1.15/apps/api/8/postURL?access_token=e6d0afa6-caad-4f01-a0f3-e27bb8098221: Premature close [-] FetchError: Invalid response body while trying to fetch http://192.168.1.15/apps/api/8/postURL?access_token=e6d0afa6-caad-4f01-a0f3-e27bb8098221: Premature close at PassThrough.<anonymous> (/home/wilson/reactor/node_modules/node-fetch/lib/index.js:217:52) at PassThrough.emit (node:events:509:28) at PassThrough.emit (node:domain:489:12) at emitErrorNT (node:internal/streams/destroy:170:8) at emitErrorCloseNT (node:internal/streams/destroy:129:3) at process.processTicksAndRejections (node:internal/process/task_queues:90:21) [latest-26177]2026-06-27T17:02:12.754Z <app:ERR> Please refer to the console log for trace [latest-26177]2026-06-27T17:02:12.776Z <DynamicGroupController:INFO> DynamicGroupController#groups processing pending updates for Array(4) ["dgc_Device_ENTRANCE", "dgc_Device_TRIPPED", "dgc_ColorLed_ON", "dgc_Device_SMOKE"] [latest-26177]2026-06-27T17:02:12.784Z <DynamicGroupController:INFO> DynamicGroupController#groups registering power_switch.on for Group#groups>dgc_ColorLed_ON [latest-26177]2026-06-27T17:02:12.784Z <DynamicGroupController:INFO> DynamicGroupController#groups registering power_switch.off for Group#groups>dgc_ColorLed_ON [latest-26177]2026-06-27T17:02:12.784Z <DynamicGroupController:INFO> DynamicGroupController#groups registering power_switch.set for Group#groups>dgc_ColorLed_ON [latest-26177]2026-06-27T17:02:12.784Z <DynamicGroupController:INFO> DynamicGroupController#groups registering toggle.toggle for Group#groups>dgc_ColorLed_ON [latest-26177]2026-06-27T17:02:12.784Z <DynamicGroupController:INFO> DynamicGroupController#groups registering color_temperature.set for Group#groups>dgc_ColorLed_ON [latest-26177]2026-06-27T17:02:12.784Z <DynamicGroupController:INFO> DynamicGroupController#groups registering rgb_color.set for Group#groups>dgc_ColorLed_ON [latest-26177]2026-06-27T17:02:12.784Z <DynamicGroupController:INFO> DynamicGroupController#groups registering rgb_color.set_rgb for Group#groups>dgc_ColorLed_ON [latest-26177]2026-06-27T17:02:12.784Z <DynamicGroupController:INFO> DynamicGroupController#groups registering hs_color.set_hs for Group#groups>dgc_ColorLed_ON [latest-26177]2026-06-27T17:02:12.785Z <DynamicGroupController:INFO> DynamicGroupController#groups registering hs_color.set_hue for Group#groups>dgc_ColorLed_ON [latest-26177]2026-06-27T17:02:12.785Z <DynamicGroupController:INFO> DynamicGroupController#groups registering hs_color.set_saturation for Group#groups>dgc_ColorLed_ON [latest-26177]2026-06-27T17:02:12.785Z <DynamicGroupController:INFO> DynamicGroupController#groups registering dimming.set for Group#groups>dgc_ColorLed_ON [latest-26177]2026-06-27T17:02:12.785Z <DynamicGroupController:INFO> DynamicGroupController#groups registering dimming.up for Group#groups>dgc_ColorLed_ON [latest-26177]2026-06-27T17:02:12.785Z <DynamicGroupController:INFO> DynamicGroupController#groups registering dimming.down for Group#groups>dgc_ColorLed_ON [latest-26177]2026-06-27T17:02:12.791Z <Rule:INFO> Panel Tripped (rule-mfdbsyrp in SharpTools) starting rule state evaluation; because predicate-state-changed Predicate#rule-mfdbsyrp/trig [latest-26177]2026-06-27T17:02:12.791Z <Rule:INFO> Panel Tripped (rule-mfdbsyrp in SharpTools) evaluated; rule state transition from SET to 'RESET' -
My
sys_modeentity is updating fine. Be more intentional in your review of the logs. Change the house mode on the hub using its user interface, and then immediately look at the end of the Reactor log. You should see a message like:[###BUILDVERSION###]2026-06-27T20:24:27.557Z <HubitatController#he_3:NOTICE> HubitatController#he_3 received mode change to Evening [###BUILDVERSION###]2026-06-27T20:24:32.487Z <HubitatController#he_3:NOTICE> HubitatController#he_3 received mode change to Day(that's the output of two back-to-back changes on my hub)
If you don't see that and you see errors instead related to the hub, post those.
And remember, full browser refresh. If an entity value doesn't look right/expected, refresh first. Then start asking why the value isn't what's expected.
The request errors you posted are for OWM weather queries, and those are not unusual; their service isn't guaranteed and I get several request errors every day myself (which I ignore). Generally, your HTTP request action seems unrelated to the system mode issue. If it happens again, go directly to the end of the log and see what detail was logged for the request, but make sure you are looking at that actual request action, not something unrelated.
-
-
Hi @toggledbits
I'm noticing a new issue: the state is becoming null again in this sequence of operations.
Complete sequence of the test:
- Reboot the VM
- Resume with the same state
- Than
root@reactor:/home/wilson/reactor# systemctl stop reactor root@reactor:/home/wilson/reactor# systemctl start reactor- Update value to null
I'm trying to understand the error logs, and I only recognize the HTTP issue we're discussing in another chat; I can't make sense of the rest—sorry. I'm sending the full log starting from the last line where the variable is set to null, in case you can spot anything.
[latest-26177]2026-06-28T18:39:56.863Z <app:null> Reactor build latest-26177-3f86f4af starting on v24.17.0 /usr/bin/node [latest-26177]2026-06-28T18:39:56.864Z <app:null> Process ID 1376 user/group 1000/1000; bare-metal; platform linux/x64 #124-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 13:00:45 UTC 2026; locale en_US.UTF-8 [latest-26177]2026-06-28T18:39:56.864Z <app:null> Basedir /home/wilson/reactor; data in /home/wilson/reactor/storage [latest-26177]2026-06-28T18:39:56.865Z <app:null> NODE_PATH=/home/wilson/reactor [latest-26177]2026-06-28T18:39:56.889Z <app:null> Resolved timezone=America/Panama, environment TZ=(undefined); offset minutes from UTC=-300 [latest-26177]2026-06-28T18:39:56.892Z <default:null> Module i18n v26144 [latest-26177]2026-06-28T18:39:56.892Z <app:null> Configured locale (undefined); selected locale(s) en_US.UTF-8 [latest-26177]2026-06-28T18:39:56.903Z <app:null> Loaded locale en-US for en-US [latest-26177]2026-06-28T18:39:56.903Z <app:null> Local date/time using configured timezone and locale formatting is "6/28/2026, 1:39:56 PM" [latest-26177]2026-06-28T18:39:56.907Z <Structure:null> Module Structure v26094 [latest-26177]2026-06-28T18:39:56.908Z <Capabilities:null> Module Capabilities v24312 [latest-26177]2026-06-28T18:39:56.923Z <Plugin:null> Module Plugin v25141 [latest-26177]2026-06-28T18:39:56.950Z <Timer:null> Module Timer v25330 [latest-26177]2026-06-28T18:39:56.951Z <TimerBroker:null> Module TimerBroker v26164 [latest-26177]2026-06-28T18:39:56.953Z <Entity:null> Module Entity v26167 [latest-26177]2026-06-28T18:39:56.957Z <Controller:null> Module Controller v26150 [latest-26177]2026-06-28T18:39:56.958Z <AlertManager:null> Module AlertManager v26135 [latest-26177]2026-06-28T18:39:56.971Z <default:null> Module Ruleset v25283 [latest-26177]2026-06-28T18:39:56.972Z <default:null> Module Rulesets v25141 [latest-26177]2026-06-28T18:39:56.978Z <GlobalExpression:null> Module GlobalExpression v25341 [latest-26177]2026-06-28T18:39:56.990Z <Predicate:null> Module Predicate v26138 [latest-26177]2026-06-28T18:39:56.994Z <Rule:null> Module Rule v26144 [latest-26177]2026-06-28T18:39:56.997Z <GlobalReaction:null> Module GlobalReaction v25292 [latest-26177]2026-06-28T18:39:56.998Z <Engine:null> Module Engine v26149 [latest-26177]2026-06-28T18:39:57.003Z <httpapi:null> Module httpapi v26175 [latest-26177]2026-06-28T18:39:57.015Z <wsapi:null> Module wsapi v26175 [latest-26177]2026-06-28T18:39:57.035Z <HassController:null> Module HassController v26173 [latest-26177]2026-06-28T18:39:57.313Z <TaskQueue:null> Module TaskQueue 24138 [latest-26177]2026-06-28T18:39:57.313Z <HubitatController:null> Module HubitatController v26108 [latest-26177]2026-06-28T18:39:57.395Z <DynamicGroupController:null> Module DynamicGroupController v26150 [latest-26177]2026-06-28T18:39:57.416Z <OWMWeatherController:null> Module OWMWeatherController v25268 [latest-26177]2026-06-28T18:39:57.422Z <NUTController:null> Module NUTController v25288 [latest-26177]2026-06-28T18:39:57.429Z <SystemController:null> Module SystemController v25330 [latest-26177]2026-06-28T18:39:57.491Z <HassController:ERR> HassController#hass implementation data has no/empty mapping section; supplying default mapping [latest-26177]2026-06-28T18:39:57.681Z <Engine:ERR> Engine#1: error evaluating expression HistShow: [ReferenceError] Invalid scope in reference to member daily of (object)null [-] [latest-26177]2026-06-28T18:39:57.681Z <Engine:ERR> Engine#1: expression: join((each i in 5..0 : format( "{0} {1} {2:4.1f}mm<br>", substr(HistPrecipitation.daily.time[i],8,2), if HistPrecipitation.daily.precipitation_sum[i] <= 2 then "💦" else "🌧️" endif, HistPrecipitation.daily.precipitation_sum[i])), " ") [latest-26177]2026-06-28T18:39:57.681Z <Engine:CRIT> ReferenceError: Invalid scope in reference to member daily of (object)null [-] ReferenceError: Invalid scope in reference to member daily of (object)null at _run (/home/wilson/reactor/common/lexp.js:1611:31) at _run (/home/wilson/reactor/common/lexp.js:1605:33) at _run (/home/wilson/reactor/common/lexp.js:1605:33) at /home/wilson/reactor/common/lexp.js:1702:33 at Array.forEach (<anonymous>) at _run (/home/wilson/reactor/common/lexp.js:1701:28) at /home/wilson/reactor/common/lexp.js:1702:33 at Array.forEach (<anonymous>) at _run (/home/wilson/reactor/common/lexp.js:1701:28) at _run (/home/wilson/reactor/common/lexp.js:1725:41) [latest-26177]2026-06-28T18:39:57.685Z <Engine:ERR> Engine#1: error evaluating expression HistLastRain: [ReferenceError] Invalid scope in reference to member daily of (object)null [-] [latest-26177]2026-06-28T18:39:57.685Z <Engine:ERR> Engine#1: expression: if HistPrecipitation.daily.precipitation_sum[5] > 2 then format( "{0} {1} {2:4.1f}mm", substr(HistPrecipitation.daily.time[5],8,2), "🌧️", HistPrecipitation.daily.precipitation_sum[5]) else HistLastRain endif [latest-26177]2026-06-28T18:39:57.685Z <Engine:CRIT> ReferenceError: Invalid scope in reference to member daily of (object)null [-] ReferenceError: Invalid scope in reference to member daily of (object)null at _run (/home/wilson/reactor/common/lexp.js:1611:31) at _run (/home/wilson/reactor/common/lexp.js:1605:33) at _run (/home/wilson/reactor/common/lexp.js:1605:33) at _run (/home/wilson/reactor/common/lexp.js:1436:34) at _run (/home/wilson/reactor/common/lexp.js:1623:26) at /home/wilson/reactor/common/lexp.js:1426:29 at Array.forEach (<anonymous>) at _run (/home/wilson/reactor/common/lexp.js:1425:28) at Object.run (/home/wilson/reactor/common/lexp.js:1855:24) at Engine._eval_expr (/home/wilson/reactor/server/lib/Engine.js:1242:165) [latest-26177]2026-06-28T18:39:57.736Z <Rule:ERR> Panel Bike Adri Update (rule-mhxipiux in SharpTools): error evaluating expression KmBici: [ReferenceError] Invalid scope in reference to member [object Object] of (object)null [-] [latest-26177]2026-06-28T18:39:57.736Z <Rule:ERR> Full expression: case when XPosition >= 0: BiciAdri[(1+XPosition)] else int( getEntity( "hass>sensor_strava_adriane_marcolin_stats_all_ride_distance").attributes.string_sensor.value ) end [latest-26177]2026-06-28T18:39:57.737Z <Rule:CRIT> ReferenceError: Invalid scope in reference to member [object Object] of (object)null [-] ReferenceError: Invalid scope in reference to member [object Object] of (object)null at _run (/home/wilson/reactor/common/lexp.js:1611:31) at _run (/home/wilson/reactor/common/lexp.js:1784:35) at /home/wilson/reactor/common/lexp.js:1426:29 at Array.forEach (<anonymous>) at _run (/home/wilson/reactor/common/lexp.js:1425:28) at Object.run (/home/wilson/reactor/common/lexp.js:1855:24) at Rule._eval_rule_expr (/home/wilson/reactor/server/lib/Rule.js:1223:182) at Rule.evaluateExpressions (/home/wilson/reactor/server/lib/Rule.js:1424:131) at Rule._evaluate (/home/wilson/reactor/server/lib/Rule.js:1498:259) at /home/wilson/reactor/server/lib/Rule.js:1445:44 [latest-26177]2026-06-28T18:39:57.745Z <Rule:ERR> Panel Bike Wilson Update (rule-mhulh79h in SharpTools): error evaluating expression KmBici: [ReferenceError] Invalid scope in reference to member [object Object] of (object)null [-] [latest-26177]2026-06-28T18:39:57.745Z <Rule:ERR> Full expression: case when XPosition >= 0: BiciWilson[(1+XPosition)] else int( getEntity( "hass>sensor_strava_wilson_marcolin_stats_all_ride_distance").attributes.string_sensor.value ) end [latest-26177]2026-06-28T18:39:57.745Z <Rule:CRIT> ReferenceError: Invalid scope in reference to member [object Object] of (object)null [-] ReferenceError: Invalid scope in reference to member [object Object] of (object)null at _run (/home/wilson/reactor/common/lexp.js:1611:31) at _run (/home/wilson/reactor/common/lexp.js:1784:35) at /home/wilson/reactor/common/lexp.js:1426:29 at Array.forEach (<anonymous>) at _run (/home/wilson/reactor/common/lexp.js:1425:28) at Object.run (/home/wilson/reactor/common/lexp.js:1855:24) at Rule._eval_rule_expr (/home/wilson/reactor/server/lib/Rule.js:1223:182) at Rule.evaluateExpressions (/home/wilson/reactor/server/lib/Rule.js:1424:131) at Rule._evaluate (/home/wilson/reactor/server/lib/Rule.js:1498:259) at /home/wilson/reactor/server/lib/Rule.js:1445:44 [latest-26177]2026-06-28T18:39:57.769Z <Rule:ERR> Bike Adri Maintenance (rule-mhldpqi1 in Automation): error evaluating expression BiciShow: [ReferenceError] Invalid scope in reference to member [object Object] of (object)null [-] [latest-26177]2026-06-28T18:39:57.770Z <Rule:ERR> Full expression: case when XPosition >= 0: BiciAdri[(0+XPosition)] else "Total acumulado" end [latest-26177]2026-06-28T18:39:57.770Z <Rule:CRIT> ReferenceError: Invalid scope in reference to member [object Object] of (object)null [-] ReferenceError: Invalid scope in reference to member [object Object] of (object)null at _run (/home/wilson/reactor/common/lexp.js:1611:31) at _run (/home/wilson/reactor/common/lexp.js:1784:35) at /home/wilson/reactor/common/lexp.js:1426:29 at Array.forEach (<anonymous>) at _run (/home/wilson/reactor/common/lexp.js:1425:28) at Object.run (/home/wilson/reactor/common/lexp.js:1855:24) at Rule._eval_rule_expr (/home/wilson/reactor/server/lib/Rule.js:1223:182) at Rule.evaluateExpressions (/home/wilson/reactor/server/lib/Rule.js:1424:131) at Rule._evaluate (/home/wilson/reactor/server/lib/Rule.js:1498:259) at /home/wilson/reactor/server/lib/Rule.js:1445:44 [latest-26177]2026-06-28T18:39:57.770Z <Rule:ERR> Bike Adri Maintenance (rule-mhldpqi1 in Automation): error evaluating expression KmBici: [ReferenceError] Invalid scope in reference to member [object Object] of (object)null [-] [latest-26177]2026-06-28T18:39:57.770Z <Rule:ERR> Full expression: case when XPosition >= 0: BiciAdri[(1+XPosition)] else int( getEntity( "hass>sensor_strava_adriane_marcolin_stats_all_ride_distance").attributes.string_sensor.value ) end [latest-26177]2026-06-28T18:39:57.771Z <Rule:CRIT> ReferenceError: Invalid scope in reference to member [object Object] of (object)null [-] ReferenceError: Invalid scope in reference to member [object Object] of (object)null at _run (/home/wilson/reactor/common/lexp.js:1611:31) at _run (/home/wilson/reactor/common/lexp.js:1784:35) at /home/wilson/reactor/common/lexp.js:1426:29 at Array.forEach (<anonymous>) at _run (/home/wilson/reactor/common/lexp.js:1425:28) at Object.run (/home/wilson/reactor/common/lexp.js:1855:24) at Rule._eval_rule_expr (/home/wilson/reactor/server/lib/Rule.js:1223:182) at Rule.evaluateExpressions (/home/wilson/reactor/server/lib/Rule.js:1424:131) at Rule._evaluate (/home/wilson/reactor/server/lib/Rule.js:1498:259) at /home/wilson/reactor/server/lib/Rule.js:1445:44 [latest-26177]2026-06-28T18:39:57.774Z <Rule:ERR> Bike Wilson Maintenance (rule-mhp74b2v in Automation): error evaluating expression BiciShow: [ReferenceError] Invalid scope in reference to member [object Object] of (object)null [-] [latest-26177]2026-06-28T18:39:57.774Z <Rule:ERR> Full expression: case when XPosition >= 0: BiciWilson[(0+XPosition)] else "Total acumulado" end [latest-26177]2026-06-28T18:39:57.774Z <Rule:CRIT> ReferenceError: Invalid scope in reference to member [object Object] of (object)null [-] ReferenceError: Invalid scope in reference to member [object Object] of (object)null at _run (/home/wilson/reactor/common/lexp.js:1611:31) at _run (/home/wilson/reactor/common/lexp.js:1784:35) at /home/wilson/reactor/common/lexp.js:1426:29 at Array.forEach (<anonymous>) at _run (/home/wilson/reactor/common/lexp.js:1425:28) at Object.run (/home/wilson/reactor/common/lexp.js:1855:24) at Rule._eval_rule_expr (/home/wilson/reactor/server/lib/Rule.js:1223:182) at Rule.evaluateExpressions (/home/wilson/reactor/server/lib/Rule.js:1424:131) at Rule._evaluate (/home/wilson/reactor/server/lib/Rule.js:1498:259) at /home/wilson/reactor/server/lib/Rule.js:1445:44 [latest-26177]2026-06-28T18:39:57.775Z <Rule:ERR> Bike Wilson Maintenance (rule-mhp74b2v in Automation): error evaluating expression KmBici: [ReferenceError] Invalid scope in reference to member [object Object] of (object)null [-] [latest-26177]2026-06-28T18:39:57.775Z <Rule:ERR> Full expression: case when XPosition >= 0: BiciWilson[(1+XPosition)] else int( getEntity( "hass>sensor_strava_wilson_marcolin_stats_all_ride_distance").attributes.string_sensor.value ) end [latest-26177]2026-06-28T18:39:57.775Z <Rule:CRIT> ReferenceError: Invalid scope in reference to member [object Object] of (object)null [-] ReferenceError: Invalid scope in reference to member [object Object] of (object)null at _run (/home/wilson/reactor/common/lexp.js:1611:31) at _run (/home/wilson/reactor/common/lexp.js:1784:35) at /home/wilson/reactor/common/lexp.js:1426:29 at Array.forEach (<anonymous>) at _run (/home/wilson/reactor/common/lexp.js:1425:28) at Object.run (/home/wilson/reactor/common/lexp.js:1855:24) at Rule._eval_rule_expr (/home/wilson/reactor/server/lib/Rule.js:1223:182) at Rule.evaluateExpressions (/home/wilson/reactor/server/lib/Rule.js:1424:131) at Rule._evaluate (/home/wilson/reactor/server/lib/Rule.js:1498:259) at /home/wilson/reactor/server/lib/Rule.js:1445:44 [latest-26177]2026-06-28T18:39:58.260Z <HubitatController:WARN> HubitatController#hubitat native capability URL no definition data; skipped [latest-26177]2026-06-28T18:39:58.521Z <app:ERR> Trapped unhandled Promise rejection: [FetchError] Invalid response body while trying to fetch http://192.168.1.15/apps/api/8/postURL?access_token=e6d0afa6-caad-4f01-a0f3-e27bb8098221: Premature close [-] [latest-26177]2026-06-28T18:39:58.521Z <app:CRIT> FetchError: Invalid response body while trying to fetch http://192.168.1.15/apps/api/8/postURL?access_token=e6d0afa6-caad-4f01-a0f3-e27bb8098221: Premature close [-] FetchError: Invalid response body while trying to fetch http://192.168.1.15/apps/api/8/postURL?access_token=e6d0afa6-caad-4f01-a0f3-e27bb8098221: Premature close at PassThrough.<anonymous> (/home/wilson/reactor/node_modules/node-fetch/lib/index.js:217:52) at PassThrough.emit (node:events:509:28) at PassThrough.emit (node:domain:489:12) at emitErrorNT (node:internal/streams/destroy:170:8) at emitErrorCloseNT (node:internal/streams/destroy:129:3) at process.processTicksAndRejections (node:internal/process/task_queues:90:21) [latest-26177]2026-06-28T18:39:58.522Z <app:ERR> Please refer to the console log for trace [latest-26177]2026-06-28T18:39:58.524Z <HassController:ERR> HassController#hass failed to complete startup: [Error] Hub reports it is starting but not yet ready [-] [latest-26177]2026-06-28T18:39:58.524Z <HassController:CRIT> Error: Hub reports it is starting but not yet ready [-] Error: Hub reports it is starting but not yet ready at /home/wilson/reactor/server/lib/HassController.js:1561:61 at process.processTicksAndRejections (node:internal/process/task_queues:104:5) [latest-26177]2026-06-28T18:39:58.788Z <HubitatController:ERR> HubitatController#hubitat error retrieving current mode: [FetchError] Invalid response body while trying to fetch http://192.168.1.15/apps/api/8/modes?access_token=e6d0afa6-caad-4f01-a0f3-e27bb8098221: Premature> [latest-26177]2026-06-28T18:39:59.551Z <HubitatController:ERR> HubitatController#hubitat enqueued action task2amerd76 (perform.hubitat>163.power_switch.off) failed: [FetchError] Invalid response body while trying to fetch http://192.168.1.15/apps/api/8/devices/163/off?acces> [latest-26177]2026-06-28T18:40:00.098Z <HubitatController:ERR> HubitatController#hubitat enqueued action task2amerd79 (perform.hubitat>21.power_switch.off) failed: [FetchError] Invalid response body while trying to fetch http://192.168.1.15/apps/api/8/devices/21/off?access_> [latest-26177]2026-06-28T18:40:00.635Z <HubitatController:ERR> HubitatController#hubitat enqueued action task2amerd7a (perform.hubitat>138.power_switch.off) failed: [FetchError] Invalid response body while trying to fetch http://192.168.1.15/apps/api/8/devices/138/off?acces> [latest-26177]2026-06-28T18:40:01.206Z <HubitatController:ERR> HubitatController#hubitat enqueued action task2amerd7b (perform.hubitat>74.power_switch.off) failed: [FetchError] Invalid response body while trying to fetch http://192.168.1.15/apps/api/8/devices/74/off?access_> [latest-26177]2026-06-28T18:40:03.855Z <HassController:ERR> HassController#hass failed to complete startup: [Error] Hub reports it is starting but not yet ready [-] [latest-26177]2026-06-28T18:40:03.855Z <HassController:CRIT> Error: Hub reports it is starting but not yet ready [-] Error: Hub reports it is starting but not yet ready at /home/wilson/reactor/server/lib/HassController.js:1561:61 at process.processTicksAndRejections (node:internal/process/task_queues:104:5) [latest-26177]2026-06-28T18:40:08.922Z <HassController:ERR> HassController#hass failed to complete startup: [Error] Hub reports it is starting but not yet ready [-] [latest-26177]2026-06-28T18:40:08.922Z <HassController:CRIT> Error: Hub reports it is starting but not yet ready [-] Error: Hub reports it is starting but not yet ready at /home/wilson/reactor/server/lib/HassController.js:1561:61 at process.processTicksAndRejections (node:internal/process/task_queues:104:5) [latest-26177]2026-06-28T18:40:14.135Z <HubitatController:ERR> HubitatController#hubitat enqueued action task2amerox3 (perform.hubitat>163.power_switch.off) failed: [FetchError] Invalid response body while trying to fetch http://192.168.1.15/apps/api/8/devices/163/off?acces> [latest-26177]2026-06-28T18:40:16.757Z <HassController:CRIT> HassController#hass refreshing 0 entities: Array(0) [] [latest-26177]2026-06-28T18:40:32.807Z <HubitatController:ERR> HubitatController#hubitat enqueued action task2ames3cq (perform.hubitat>28.power_switch.off) failed: [FetchError] Invalid response body while trying to fetch http://192.168.1.15/apps/api/8/devices/28/off?access_>Sorry to bother you—maybe these are just issues with my installation. I actually just deleted everything and reinstalled the latest version. I only left the “config” and “storage” directories; I removed everything else. From the ‘storage’ directory, I deleted the “state” file. I know that was a drastic move, but I'm trying to figure out what happened to my installation.
-
If you look at the error messages being reported by HubitatController, you can see it is not able to talk to the hub. What do the startup messages for HubitatController look like? Something really does not seem right network-wise with either your host or your hub.
Let's clear a few baseline things out of the way.
- Post the first 20 lines of Reactor startup messages.
- Run
npm lsin your Reactor directory and post the output. - From the Hubitat GUI, post the version number of your Hubitat firmware.
- Post your HubitatController config
-
- Post the first 20 lines of Reactor startup messages
[latest-26177]2026-06-28T21:34:59.107Z <app:null> Reactor build latest-26177-3f86f4af starting on v24.17.0 /usr/bin/node [latest-26177]2026-06-28T21:34:59.107Z <app:null> Process ID 1679 user/group 1000/1000; bare-metal; platform linux/x64 #124-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 13:00:45 UTC 2026; locale en_US> [latest-26177]2026-06-28T21:34:59.107Z <app:null> Basedir /home/wilson/reactor; data in /home/wilson/reactor/storage [latest-26177]2026-06-28T21:34:59.107Z <app:null> NODE_PATH=/home/wilson/reactor [latest-26177]2026-06-28T21:34:59.127Z <app:null> Resolved timezone=America/Panama, environment TZ=(undefined); offset minutes from UTC=-300 [latest-26177]2026-06-28T21:34:59.128Z <default:null> Module i18n v26144 [latest-26177]2026-06-28T21:34:59.128Z <app:null> Configured locale (undefined); selected locale(s) en_US.UTF-8 [latest-26177]2026-06-28T21:34:59.137Z <app:null> Loaded locale en-US for en-US [latest-26177]2026-06-28T21:34:59.137Z <app:null> Local date/time using configured timezone and locale formatting is "6/28/2026, 4:34:59 PM" [latest-26177]2026-06-28T21:34:59.139Z <Structure:null> Module Structure v26094 [latest-26177]2026-06-28T21:34:59.140Z <Capabilities:null> Module Capabilities v24312 [latest-26177]2026-06-28T21:34:59.147Z <Capabilities:NOTICE> System capabilities loaded from core distribution, data version 26146 revision 1 [latest-26177]2026-06-28T21:34:59.156Z <Plugin:null> Module Plugin v25141 [latest-26177]2026-06-28T21:34:59.174Z <Timer:null> Module Timer v25330 [latest-26177]2026-06-28T21:34:59.174Z <TimerBroker:null> Module TimerBroker v26164 [latest-26177]2026-06-28T21:34:59.175Z <Entity:null> Module Entity v26167 [latest-26177]2026-06-28T21:34:59.177Z <Controller:null> Module Controller v26150 [latest-26177]2026-06-28T21:34:59.178Z <AlertManager:null> Module AlertManager v26135 [latest-26177]2026-06-28T21:34:59.184Z <default:null> Module Ruleset v25283 [latest-26177]2026-06-28T21:34:59.185Z <default:null> Module Rulesets v25141 [latest-26177]2026-06-28T21:34:59.190Z <GlobalExpression:null> Module GlobalExpression v25341 [latest-26177]2026-06-28T21:34:59.199Z <Predicate:null> Module Predicate v26138 [latest-26177]2026-06-28T21:34:59.201Z <Rule:null> Module Rule v26144 [latest-26177]2026-06-28T21:34:59.202Z <GlobalReaction:null> Module GlobalReaction v25292 [latest-26177]2026-06-28T21:34:59.202Z <Engine:null> Module Engine v26149 [latest-26177]2026-06-28T21:34:59.208Z <httpapi:null> Module httpapi v26175 [latest-26177]2026-06-28T21:34:59.221Z <wsapi:null> Module wsapi v26175 [latest-26177]2026-06-28T21:34:59.222Z <app:NOTICE> Starting Structure...- npm ls
root@reactor:/home/wilson/reactor# npm ls reactor-multi-system@1.6.3-26177 /home/wilson/reactor ├── @eslint/js@10.0.1 ├── @fontsource/open-sans@5.2.7 ├── @influxdata/influxdb-client@1.35.0 ├── @popperjs/core@2.11.8 ├── body-parser@2.2.2 ├── bootstrap-icons@1.13.1 ├── bootstrap@5.3.8 ├── devalue@5.8.1 ├── digest-fetch@2.0.3 ├── diskusage-ng@1.0.4 ├── eslint@10.4.1 ├── express@5.2.1 ├── form-data@4.0.5 ├── globals@17.6.0 ├── gridstack@12.6.0 ├── javascript-obfuscator@4.2.2 ├── jquery-ui@1.14.2 ├── jquery@3.7.1 ├── js-yaml@4.2.0 ├── node-fetch@2.7.0 ├── node-stream-zip@1.15.0 ├── nodemailer@7.0.13 ├── ping@1.0.0 ├── serve-static@2.2.1 ├── showdown@2.1.0 ├── uuid@11.1.1 └── ws@7.5.11- Hubitat version
- HubitratController
- id: hubitat enabled: true implementation: HubitatController name: Hubitat Elevation System config: # Copy the entire URL from the Maker API app page on your Hubitat UI. A quick, easy way is to # right-click the "Get All Devices" link and choose "Copy link location", the paste it below. source: "http://192.168.1.15/apps/api/8/devices?access_token=e6d0afa6-caad-4f01-a0f3-e27bb8098221" # # dump_all_devices - This is for troubleshooting. Do not enable unless asked. dump_all_devices: false # OPCIONAL TEMPORIZADOR ENTRE ACOES - 0,500s entre acoes - ou 2 acoes por segundo action_pace: 500 warn_unresponsive: true probe_device: 7 probe_action: x_hubitat_Refresh.refreshThanks.
-
OK. That all looks good. I upgraded my hub to 2.5.0.159, and it works fine. I'm just not seeing any of the issues you are having here. The only things I can suggest at this point:
- Reboot your hub
- If that doesn't resolve it, delete your Maker API instance on the hub and create a new one; update Reactor's configuration to reflect the new app ID and access token.
-
I'VE GOT IT!!!! Stand by... don't do anything more yet...
-
OK. Here it is... I switched my nodejs to the same v24.17 you are using... and my system broke! Same behavior as yours.
Upgrade your nodejs to v24.18. Whatever was broken in 17 seems to have been fixed for 18.
-
Upgrade DONE
root@reactor:/home/wilson# node -v
v24.18.0
root@reactor:/home/wilson# npm -v
11.16.0
root@reactor:/home/wilson#New roboot... all ok
New sequence stop start
root@reactor:/home/wilson# systemctl stop reactor
root@reactor:/home/wilson# systemctl start reactorPERFECT!!!!!!
Additional test perfect too!!!
-
Ha!
And... it's a known regression, with a specific fix applied to v24.18, so confirms all.
Onward!!!
-
Shouldn't there be a release note for this update to version 26177 regarding the Node.js version?
Because when I performed the update, that’s when I noticed this Mode issue—actually, it was already happening before, I’m sure, when I updated Hubitat—but it became more apparent because, as I showed in this and other posts (like the one about the HTTP query), I started getting various communication errors with Hubitat, such as loss of connection and timeouts.
And now everything has disappeared.
I’m still dealing with an issue involving Telegram, which I reported in the other dedicated chat.
-
Shouldn't there be a release note for this update to version 26177 regarding the Node.js version?
Because when I performed the update, that’s when I noticed this Mode issue—actually, it was already happening before, I’m sure, when I updated Hubitat—but it became more apparent because, as I showed in this and other posts (like the one about the HTTP query), I started getting various communication errors with Hubitat, such as loss of connection and timeouts.
And now everything has disappeared.
I’m still dealing with an issue involving Telegram, which I reported in the other dedicated chat.
@wmarcolin I'm still looking at your Telegram issue. Now that I know nodejs v24.17 is a problem, I will post a note for it. Apparently the same change that broke v24 was also made to v22, so I'm trying to identify/confirm that version as well.
-
Wow, what a headache. I don't know if this is also related to the Node.js issue, but I just added another scenario that I'm now seeing in the log—an INFO warning for a device that doesn't exist. I don't know if it's related. I'm going through the entire error log and reactor.log to see if I can spot anything else unusual in the information.


















