• 10 dec 2017: forum version update. In case of issues use this topic.
  • 30 nov 2017: pilight moved servers. In case of issues use this topic.
Hello There, Guest! Login Register


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Solved] Error messages in rules after update
#1
when i use the nightly builds after version 202, i get a rules-error when starting the pilight-daemon.
Error:
[Sep 01 08:05:38:499391] pilight-daemon: ERROR: rule #1 invalid: operator "IS" does not exist
[Sep 01 08:05:38:499960] pilight-daemon: INFO: rule #1 was parsed until: ... PIR1.state IS off THEN label DEVICE LabelPIR1 TO Bewegung erfasst
[Sep 01 08:05:38:500137] pilight-daemon: INFO: rule #1 RulePIR1a was parsed in 0.000484 seconds

i use the same config-file as for 202, but every version after 202 did not work. it seems that something change in the rule syntax. the error always accours in the first rule of the config-file. when i changing the rule order, nothing change, the first rule is "wrong".
 
Reply
#2
Try to use "==" instead of "IS"


https://www.pilight.org/post/rewrite-backports-1-2-3
 
Reply
#3
@Naga
thank you for this hint, put this page to my favorits.
now i can use the new versions.

@developer
hope that the development continues and some of my door-contacts works in future like in the "old" stable version of pilight.
thank you for your work and time :-)
 
Reply
  


Possibly Related Threads...
Thread Author Replies Views Last Post
  [SOLVED] Triggering generic_switch leads to segfault Ulrich.Arnold 19 1,273 10-23-2019, 09:03 AM
Last Post: Ulrich.Arnold
  ][solved]Segfault when retrieving big chunked http message Niek 21 6,080 11-29-2018, 03:17 PM
Last Post: curlymo
  Function with single argument is causing an error Niek 1 2,514 08-04-2018, 02:46 PM
Last Post: curlymo
  REPLACE error with installation latest staging version Niek 4 702 06-30-2018, 06:07 PM
Last Post: curlymo
  Error with new events parser Niek 28 4,830 05-07-2018, 06:25 AM
Last Post: curlymo
  [Solved] config.json not updated Niek 6 1,594 12-31-2017, 03:19 PM
Last Post: curlymo
  [Solved] callback not executing when dns lookup fails Niek 1 717 10-08-2017, 11:44 AM
Last Post: curlymo
  [Solved] Rules switching state based on another device state not working apartmedia 6 2,547 09-27-2017, 01:41 PM
Last Post: apartmedia
  [Solved] connection to main pilight daemon lost TopdRob 20 4,439 09-17-2017, 04:30 PM
Last Post: curlymo
  [Solved] dimmer protocol kaku_dimmer does not react on dimmervalue apartmedia 25 4,271 09-16-2017, 10:29 PM
Last Post: apartmedia

Forum Jump:


Browsing: 1 Guest(s)