Owntracks / Mosquitto String updates unexepectedly.
-
@CatmanV2 I have a new version anyway, that's trying to handle null values.
@toggledbits is it possible for MQTTController to dump the payload in case of errors? this will help a lot when dealing with such situations. Thanks.@therealdb said in Owntracks / Mosquitto String updates unexepectedly.:
@toggledbits is it possible for MQTTController to dump the payload in case of errors? this will help a lot when dealing with such situations. Thanks.
Heh! I just added that! Clearly we both see the value. 22350 will do that if payload JSON parsing fails, and always log the payload at log level 5. The next release will do it as part of the error logged when/if the
if_expr
orexpr
for an attribute fail evaluation. -
C CatmanV2 marked this topic as a question on
-
C CatmanV2 has marked this topic as solved on
-
@realdb
Per PM[latest-22349]2022-12-20T20:10:45.235Z <httpapi:INFO> httpapi: API request from ::ffff:192.168.70.70: GET /api/v1/systime [latest-22349]2022-12-20T20:11:40.948Z <MQTTController:WARN> MQTTController#mqqt if_expr expression payload._type == 'location' || payload._type='transition' returned non-boolean (string) [latest-22349]2022-12-20T20:11:40.952Z <Rule:INFO> Location Test (rule-lbl1mbdn in Home or Away) starting evaluation; because entity-changed BinarySensor#mqqt>rachel_owntracks [latest-22349]2022-12-20T20:11:40.952Z <Rule:INFO> Rachel is at the office (rule-lb6bcyk5 in Home or Away) starting evaluation; because entity-changed BinarySensor#mqqt>rachel_owntracks [latest-22349]2022-12-20T20:11:40.954Z <Rule:INFO> Location Test (rule-lbl1mbdn in Home or Away) trigger evaluation result is true (previously false) [latest-22349]2022-12-20T20:11:40.954Z <Rule:INFO> Location Test (rule-lbl1mbdn in Home or Away) evaluated; rule state transition from RESET to SET! [latest-22349]2022-12-20T20:11:40.961Z <Rule:INFO> Rachel is at the office (rule-lb6bcyk5 in Home or Away) trigger evaluation result is false (previously false) [latest-22349]2022-12-20T20:11:40.961Z <Rule:INFO> Rachel is at the office (rule-lb6bcyk5 in Home or Away) evaluated; trigger state unchanged (false); rule state remains RESET [latest-22349]2022-12-20T20:11:40.961Z <Rule:INFO> Location Test (rule-lbl1mbdn in Home or Away) evaluation complete [latest-22349]2022-12-20T20:11:40.961Z <Rule:INFO> Rachel is at the office (rule-lb6bcyk5 in Home or Away) evaluation complete [latest-22349]2022-12-20T20:11:40.962Z <Engine:INFO> Enqueueing "Location Test<SET>" (rule-lbl1mbdn:S) [latest-22349]2022-12-20T20:11:40.963Z <Rule:INFO> Location Test (rule-lbl1mbdn in Home or Away) starting evaluation; because timer-trigger Timer#rule-lbl1mbdn [latest-22349]2022-12-20T20:11:40.963Z <Rule:INFO> Location Test (rule-lbl1mbdn in Home or Away) trigger evaluation result is false (previously true) [latest-22349]2022-12-20T20:11:40.963Z <Rule:INFO> Location Test (rule-lbl1mbdn in Home or Away) evaluated; rule state transition from SET to RESET! [latest-22349]2022-12-20T20:11:40.968Z <Rule:INFO> Location Test (rule-lbl1mbdn in Home or Away) evaluation complete [latest-22349]2022-12-20T20:11:40.973Z <Engine:NOTICE> Starting reaction Location Test<SET> (rule-lbl1mbdn:S) [latest-22349]2022-12-20T20:11:40.980Z <Engine:INFO> Location Test<SET> all actions completed. [latest-22349]2022-12-20T20:14:41.149Z <httpapi:INFO> httpapi: API request from ::ffff:192.168.70.253: GET /api/v1/systime
Cheers
C
-
@realdb
Per PM[latest-22349]2022-12-20T20:10:45.235Z <httpapi:INFO> httpapi: API request from ::ffff:192.168.70.70: GET /api/v1/systime [latest-22349]2022-12-20T20:11:40.948Z <MQTTController:WARN> MQTTController#mqqt if_expr expression payload._type == 'location' || payload._type='transition' returned non-boolean (string) [latest-22349]2022-12-20T20:11:40.952Z <Rule:INFO> Location Test (rule-lbl1mbdn in Home or Away) starting evaluation; because entity-changed BinarySensor#mqqt>rachel_owntracks [latest-22349]2022-12-20T20:11:40.952Z <Rule:INFO> Rachel is at the office (rule-lb6bcyk5 in Home or Away) starting evaluation; because entity-changed BinarySensor#mqqt>rachel_owntracks [latest-22349]2022-12-20T20:11:40.954Z <Rule:INFO> Location Test (rule-lbl1mbdn in Home or Away) trigger evaluation result is true (previously false) [latest-22349]2022-12-20T20:11:40.954Z <Rule:INFO> Location Test (rule-lbl1mbdn in Home or Away) evaluated; rule state transition from RESET to SET! [latest-22349]2022-12-20T20:11:40.961Z <Rule:INFO> Rachel is at the office (rule-lb6bcyk5 in Home or Away) trigger evaluation result is false (previously false) [latest-22349]2022-12-20T20:11:40.961Z <Rule:INFO> Rachel is at the office (rule-lb6bcyk5 in Home or Away) evaluated; trigger state unchanged (false); rule state remains RESET [latest-22349]2022-12-20T20:11:40.961Z <Rule:INFO> Location Test (rule-lbl1mbdn in Home or Away) evaluation complete [latest-22349]2022-12-20T20:11:40.961Z <Rule:INFO> Rachel is at the office (rule-lb6bcyk5 in Home or Away) evaluation complete [latest-22349]2022-12-20T20:11:40.962Z <Engine:INFO> Enqueueing "Location Test<SET>" (rule-lbl1mbdn:S) [latest-22349]2022-12-20T20:11:40.963Z <Rule:INFO> Location Test (rule-lbl1mbdn in Home or Away) starting evaluation; because timer-trigger Timer#rule-lbl1mbdn [latest-22349]2022-12-20T20:11:40.963Z <Rule:INFO> Location Test (rule-lbl1mbdn in Home or Away) trigger evaluation result is false (previously true) [latest-22349]2022-12-20T20:11:40.963Z <Rule:INFO> Location Test (rule-lbl1mbdn in Home or Away) evaluated; rule state transition from SET to RESET! [latest-22349]2022-12-20T20:11:40.968Z <Rule:INFO> Location Test (rule-lbl1mbdn in Home or Away) evaluation complete [latest-22349]2022-12-20T20:11:40.973Z <Engine:NOTICE> Starting reaction Location Test<SET> (rule-lbl1mbdn:S) [latest-22349]2022-12-20T20:11:40.980Z <Engine:INFO> Location Test<SET> all actions completed. [latest-22349]2022-12-20T20:14:41.149Z <httpapi:INFO> httpapi: API request from ::ffff:192.168.70.253: GET /api/v1/systime
Cheers
C
@CatmanV2 said in Owntracks / Mosquitto String updates unexepectedly.:
@realdb
Per PMv 22352 is on GitHub. It was a stupid mistake on my part that should be fixed. I owe you an apology if this caused some messy reactions, and I thank you for being my tester
-
@CatmanV2 said in Owntracks / Mosquitto String updates unexepectedly.:
@realdb
Per PMv 22352 is on GitHub. It was a stupid mistake on my part that should be fixed. I owe you an apology if this caused some messy reactions, and I thank you for being my tester
@therealdb Dude you owe me nothing
C