• 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
Update of tfa devices works in debug mode only
#1
I am operating 5 tfa devices, for example:
Code:
"TH_Anbau": {
            "protocol": [ "tfa" ],
            "id": [{
                "id": 67,
                "channel": 1
            }],
            "temperature": 24.05,
            "humidity": 46.00,
            "battery": 1
        },
        "LBL_TH_Anbau": {
            "protocol": [ "generic_label" ],
            "id": [{
                "id": 100
            }],
            "label": "14.08.2016 18:40",
            "color": "black"
        },

Whenever a new pulsetrain is received from a tfa device, i use the following rule to update the associated label showing date/time the updated pulsetrain was received.
Code:
        "Rule_TH_Anbau": {
            "rule": "IF tfa.id == 67 THEN label DEVICE LBL_TH_Anbau TO DATE_FORMAT(zeit, %d.%m.%Y %H:%M)",
            "active": 1
        },

Running the rewrite branch of pilight-daemon in debug mode everyting is working as expected.
Running the rewrite branch as a regular service, the update stops after a minute or two.
 
Reply
  


Possibly Related Threads...
Thread Author Replies Views Last Post
  [Solved] pilight-receive fills log with empty DEBUG messages pilino1234 1 1,716 04-12-2016, 07:29 PM
Last Post: curlymo

Forum Jump:


Browsing: 1 Guest(s)