Rule gives Null log error

I have been running this rule for about 3mo and now it does not.

log entries

app:2992021-03-09 07:19:38.059 am errorjava.lang.NumberFormatException: For input string: "null" on line 7094 (allHandler)

RULE IN Rule machine c7 platform

Select Trigger Events (ANY will trigger)
Manual Alarm Activation vs
or
HSM alerts intrusion-night
or
HSM alerts intrusion-home
or
HSM alerts intrusion

Actions to run
Off: Garage Lights
On: Porch, Lamp, Light 1, Hall Light, Black Lamp, Driveway lights switch
Repeat 90 times every (stopable)
open() on Alarm has been triggered vc
Delay 0:00:03
close() on Alarm has been triggered vc
IF (HSM status is Disarmed(T) AND
Manual Alarm Activation vs(off) is off(T) [TRUE]) THEN
Stop Repeating Actions
END-IF
Delay 0:00:15
END-REP

Which hub release are you running, and is this Rule-4.0 or Rule-4.1? Could you turn on Event, Trigger and Action Logging capture those logs with a screenshot, and post it here?

1 Like

Hubitat Elevation® Platform Version

2.2.5.131

Hardware Version

Rev C-7

Rule-4.1

dev:2662021-03-09 06:03:14.570 pm infoAlexa alarm is disarmed was closed

app:3862021-03-09 06:03:10.103 pm errorjava.lang.NumberFormatException: For input string: "null" on line 7097 (allHandler)

app:142021-03-09 06:03:09.833 pm infoSetting binary state for Black Lamp

dev:1352021-03-09 06:03:09.827 pm infoTurning on

app:142021-03-09 06:03:09.703 pm infoSetting binary state for Lamp

dev:32021-03-09 06:03:09.694 pm infoTurning on

app:72021-03-09 06:03:09.507 pm infoMode set to Night from Away

dev:2662021-03-09 06:03:09.467 pm infoAlexa alarm is disarmed was opened

app:3862021-03-09 06:03:09.422 pm infoAction: On: Porch, Lamp, Light 1, Hall Light, Black Lamp, Driveway lights switch

dev:2172021-03-09 06:03:09.407 pm infoAlexa Guard status was closed

dev:72021-03-09 06:03:09.388 pm infoAlexa AWAY Switch (on = away) was turned off

app:3862021-03-09 06:03:09.346 pm infoAlarm has been triggered: Brown Hubitat hsmAlert cancel

app:3862021-03-09 06:03:09.199 pm infoAction: Off: Garage Lights

app:2822021-03-09 06:03:09.194 pm infoDisarmed

app:2822021-03-09 06:03:09.187 pm warnAlert Intrusion-Night canceled

app:3862021-03-09 06:03:09.183 pm infoAlarm has been triggered Triggered

app:3862021-03-09 06:03:09.175 pm infoAlarm has been triggered: Brown Hubitat hsmAlert intrusion-night

app:2822021-03-09 06:03:08.970 pm warnAlert Intrusion-Night Entry /Garage Doors Z1 open

app:3862021-03-09 06:02:59.703 pm errorjava.lang.NumberFormatException: For input string: "null" on line 7097 (allHandler)

app:142021-03-09 06:02:59.556 pm infoSetting binary state for Black Lamp

dev:1352021-03-09 06:02:59.551 pm infoTurning on

app:142021-03-09 06:02:59.428 pm infoSetting binary state for Lamp

dev:32021-03-09 06:02:59.422 pm infoTurning on

app:3862021-03-09 06:02:59.273 pm infoAction: On: Porch, Lamp, Light 1, Hall Light, Black Lamp, Driveway lights switch

app:3862021-03-09 06:02:59.040 pm infoAction: Off: Garage Lights

app:3862021-03-09 06:02:59.025 pm infoAlarm has been triggered Triggered

app:3862021-03-09 06:02:59.017 pm infoAlarm has been triggered: Brown Hubitat hsmAlert intrusion-night

app:2822021-03-09 06:02:58.870 pm warnAlert Intrusion-Night Entry /Garage Doors Z1 open

app:3862021-03-09 06:02:49.584 pm errorjava.lang.NumberFormatException: For input string: "null" on line 7097 (allHandler)

app:142021-03-09 06:02:49.359 pm infoSetting binary state for Black Lamp

dev:1352021-03-09 06:02:49.353 pm infoTurning on

app:142021-03-09 06:02:49.227 pm infoSetting binary state for Lamp

dev:32021-03-09 06:02:49.221 pm infoTurning on

app:3862021-03-09 06:02:49.078 pm infoAction: On: Porch, Lamp, Light 1, Hall Light, Black Lamp, Driveway lights switch

app:3862021-03-09 06:02:48.936 pm infoAction: Off: Garage Lights

app:3862021-03-09 06:02:48.922 pm infoAlarm has been triggered Triggered

app:3862021-03-09 06:02:48.914 pm infoAlarm has been triggered: Brown Hubitat hsmAlert intrusion-night

app:2822021-03-09 06:02:48.764 pm warnAlert Intrusion-Night Entry /Garage Doors Z1 open

dev:1672021-03-09 06:02:47.387 pm infoHall motion is inactive

dev:392021-03-09 06:02:41.481 pm infoLight 1 was turned on

dev:712021-03-09 06:02:40.474 pm infoHall Light switch is on

app:3862021-03-09 06:02:39.556 pm errorjava.lang.NumberFormatException: For input string: "null" on line 7097 (allHandler)

app:142021-03-09 06:02:39.408 pm infoSetting binary state for Black Lamp

dev:1352021-03-09 06:02:39.403 pm infoTurning on

app:142021-03-09 06:02:39.278 pm infoSetting binary state for Lamp

dev:32021-03-09 06:02:39.272 pm infoTurning on

app:3862021-03-09 06:02:39.008 pm infoAction: On: Porch, Lamp, Light 1, Hall Light, Black Lamp, Driveway lights switch

app:3862021-03-09 06:02:38.829 pm infoAction: Off: Garage Lights

app:3862021-03-09 06:02:38.815 pm infoAlarm has been triggered Triggered

app:3862021-03-09 06:02:38.807 pm infoAlarm has been triggered: Brown Hubitat hsmAlert intrusion-night

app:2822021-03-09 06:02:38.644 pm warnAlert Intrusion-Night Entry /Garage Doors Z1 open

dev:712021-03-09 06:02:38.179 pm infoHall Light switch is off

app:3862021-03-09 06:02:29.634 pm errorjava.lang.NumberFormatException: For input string: "null" on line 7097 (allHandler)

dev:1672021-03-09 06:02:29.411 pm infoHall motion is active

app:142021-03-09 06:02:29.313 pm infoSetting binary state for Black Lamp

dev:1352021-03-09 06:02:29.308 pm infoTurning on

app:142021-03-09 06:02:29.180 pm infoSetting binary state for Lamp

dev:32021-03-09 06:02:29.174 pm infoTurning on

app:3862021-03-09 06:02:29.011 pm infoAction: On: Porch, Lamp, Light 1, Hall Light, Black Lamp, Driveway lights switch

app:3862021-03-09 06:02:28.767 pm infoAction: Off: Garage Lights

app:3862021-03-09 06:02:28.752 pm infoAlarm has been triggered Triggered

app:3862021-03-09 06:02:28.743 pm infoAlarm has been triggered: Brown Hubitat hsmAlert intrusion-night

app:2822021-03-09 06:02:28.581 pm warnAlert Intrusion-Night Entry /Garage Doors Z1 open

dev:2132021-03-09 06:02:26.167 pm infoEntry /Garage Doors Z1 is closed

dev:392021-03-09 06:02:21.243 pm infoLight 1 was turned on

dev:712021-03-09 06:02:20.293 pm infoHall Light switch is on

dev:722021-03-09 06:02:19.492 pm infoDriveway lights switch switch is on

app:3862021-03-09 06:02:19.395 pm errorjava.lang.NumberFormatException: For input string: "null" on line 7097 (allHandler)

dev:22021-03-09 06:02:19.176 pm infoPorch setSysInfo: switch: on

app:142021-03-09 06:02:19.152 pm infoSetting binary state for Black Lamp

dev:1352021-03-09 06:02:19.147 pm infoTurning on

app:142021-03-09 06:02:18.991 pm infoSetting binary state for Lamp

dev:32021-03-09 06:02:18.981 pm infoTurning on

app:3862021-03-09 06:02:18.815 pm infoAction: On: Porch, Lamp, Light 1, Hall Light, Black Lamp, Driveway lights switch

app:3862021-03-09 06:02:18.665 pm infoAction: Off: Garage Lights

app:3862021-03-09 06:02:18.637 pm infoAlarm has been triggered Triggered

app:3862021-03-09 06:02:18.628 pm infoAlarm has been triggered: Brown Hubitat hsmAlert intrusion-night

dev:2552021-03-09 06:02:18.592 pm infoZone 1 Entry/Garage doors is on

app:2822021-03-09 06:02:18.441 pm warnAlert Intrusion-Night Entry /Garage Doors Z1 open

dev:2132021-03-09 06:02:18.392 pm infoEntry /Garage Doors Z1 is open

app:72021-03-09 06:02:08.196 pm infoMode set to Away from Night

dev:2172021-03-09 06:02:08.122 pm infoAlexa Guard status was opened

dev:72021-03-09 06:02:08.115 pm infoAlexa AWAY Switch (on = away) was turned on

app:2822021-03-09 06:02:07.950 pm infoArmed Night

This log include multiple iterations of the repeat.

It looks like there might be a problem with one of the devices.

Here are the device types

Porch - Kasa hs200
Lamp - wemo plug
Light 1 - Phillip Hue Zigbee
Hall Light - Zoozs Dimmer Zwave
Black Lamp- wemo plug
Driveway Light Switch - Zooz wall sw

is there one 0f the lights that is not turning on.. could the driver have changed on one of the lights. i know there have been new kasa updates?

what got my attention is that the following stopped working. Alexa is not making the annoucement. I will check to see if all of the lights are comming on.

open() on Alarm has been triggered vc
Delay 0:00:03
close() on Alarm has been triggered vc

the Alarm has been triggered vc (virtual contact) is sent to Alexa through the Alexa intergration app. A routine in alexa is triggered by this virtual Contact openning and plays an annoucement

All lights came on

i think the problem is in the rule is it not supposed to say repeat x times every so many secs..

?

Thanks, That was the problem.

However, now the rule reads
Repeat 90 times every 0:05:00 (stopable).

I do not want it to repeat 90 times every 5 min. It will not end. I want a max number of repeats.

Can you add a max times without the time. I only want a max of 90 iterations.

For now I will have to use a variable to count myself.

Thanks again for look at this so quickly.

Don

Sorry Kahn, I thought you were staff. I know you can not add that feature but I hope Hubitat does.
Don

Thanks again Kahn for looking at my problem.
Donh

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.