• 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


No sensor in the web interface
#1
Hello,

why Elro HE Contact sensors are not displayed in the web interface?
In the App Illumina they appear.

greeting karl

Code:
{
    "devices": {
        "zeit": {
            "protocol": [ "datetime" ],
            "id": [{
                "longitude": 11.xxxxx,
                "latitude": 49.xxxxxx,
                "ntpserver": "0.north-america.pool.ntp.org"
            }],
            "year": 2015,
            "month": 4,
            "day": 29,
            "hour": 20,
            "minute": 15,
            "second": 20,
            "weekday": 4
        },
        "Ambilight": {
            "protocol": [ "elro_400" ],
            "id": [{
                "systemcode": 0,
                "unitcode": 15
            }],
            "state": "on"
        },
        "LichtKueche": {
            "protocol": [ "kaku_switch_old" ],
            "id": [{
                "id": 0,
                "unit": 0
            }],
            "state": "off"
        },
        "temperatureBoiler": {
            "protocol": [ "ds18b20" ],
            "id": [{
                "id": "01146521c5ff"
            }],
            "temperature": 15.187
        },
        "temperatureHeizungV": {
            "protocol": [ "ds18b20" ],
            "id": [{
                "id": "041469f120ff"
            }],
            "temperature": 19.812
        },
        "webcam": {
            "protocol": [ "generic_webcam" ],
            "id": [{
                "id": 100
            }],
            "url": "http://nocheintragen"
        },
        "AVR": {
            "protocol": [ "ping" ],
            "id": [{
                "ip": "192.168.188.36"
            }],
            "state": "connected"
        },
        "AVRdummy": {
            "protocol": [ "elro_400" ],
            "id": [{
                "systemcode": 0,
                "unitcode": 0
            }],
            "state": "on"
        },
        "Alarm": {
            "protocol": [ "generic_switch" ],
            "id": [{
                "id": 100
            }],
            "state": "off"
        },
        "S1": {
            "protocol": [ "elro_800_contact" ],
            "id": [{
                "systemcode": 25,
                "unitcode": 11
            }],
            "state": "closed"
        },
        "Outdoor": {
            "protocol": [ "intertechno_old" ],
            "id": [{
                "id": 3,
                "unit": 0
            }],
            "state": "off"
        }
    },
    "rules": {
        "avron": {
            "rule": "IF AVR.state IS connected THEN switch DEVICE AVRdummy TO on",
            "active": 1
        },
        "avroff": {
            "rule": "IF AVR.state IS disconnected THEN switch DEVICE AVRdummy TO off",
            "active": 1
        },
        "AKueche": {
            "rule": "IF Alarm.state IS on AND S1.state IS opened THEN switch DEVICE Outdoor TO on",
            "active": 1
        }
    },
    "gui": {
        "zeit": {
            "name": "Date & Time",
            "group": [ "Alarmanlage" ],
            "media": [ "all" ]
        },
        "Outdoor": {
            "name": "Fluter Garten",
            "group": [ "Licht" ],
            "media": [ "all" ]
        },
        "Ambilight": {
            "name": "Ambilight",
            "group": [ "Licht" ],
            "media": [ "all" ]
        },
        "LichtKueche": {
            "name": "Licht Kueche",
            "group": [ "Licht" ],
            "media": [ "all" ]
        },
        "temperatureBoiler": {
            "name": "Boiler",
            "group": [ "Temperatur" ],
            "media": [ "all" ]
        },
        "temperatureHeizungV": {
            "name": "Vorlauf Heizung",
            "group": [ "Temperatur" ],
            "media": [ "all" ]
        },
        "webcam": {
            "name": "Webcam",
            "group": [ "Cam" ]
        },
        "AVRdummy": {
            "name": "Denon AVR",
            "group": [ "Netzwerk" ],
            "media": [ "all" ]
        },
        "Alarm": {
            "name": "Alarm",
            "group": [ "Alarmanlage" ],
            "media": [ "all" ]
        },
        "S1": {
            "name": "Balkontuer Kueche",
            "group": [ "Alarmanlage" ],
            "media": [ "all" ]
        }
    },
    "settings": {
        "log-level": 4,
        "pid-file": "/var/run/pilight.pid",
        "log-file": "/var/log/pilight.log",
        "send-repeats": 10,
        "receive-repeats": 1,
        "webserver-enable": 1,
        "webserver-root": "/usr/local/share/pilight/",
        "webserver-port": 5001,
        "webserver-cache": 1,
        "firmware-update": 0
    },
    "hardware": {
        "433gpio": {
            "sender": 0,
            "receiver": 1
        }
    },
    "registry": {
        "pilight": {
            "firmware": {
                "version": 16674,
                "lpf": 340570,
                "hpf": 56890
            },
            "version": {
                "current": "6.0"
            }
        }
    }
}


Attached Files Thumbnail(s)
       
 
Reply
#2
Try:

Code:
"name": "DateTime",

(just a guess)
 
Reply
#3
That was unfortunately not.
 
Reply
#4
Hmm, i didn't knew i implemented sensors in the Illumina Smile
 
Reply
#5
It was not me Smile
Can you integrate them in the web interface?
 
Reply
#6
No, i will remove it from Illumina. The idea is that you use the contact sensors in the rules.
 
Reply
#7
?????
 
Reply
#8
(04-29-2015, 10:45 PM)paschi780 Wrote: ?????

... you can control switches using rules based on contact sensor status (I turn on a switch with a small bulb if one of contact "open"s). Or you can use the generic_label protocol (and rules) to display the values of the contact sensor.
(I had the same issue .. @curlymo developed generic_label extra for this Smile)
 
Reply
#9
As i said, those sensors are to be used in events. They have no logical use in the GUI.
 
Reply
#10
(04-30-2015, 08:50 AM)curlymo Wrote: As i said, those sensors are to be used in events. They have no logical use in the GUI.

this is like a washing machine .. the window was invented to prove that it is actually working Wink
 
Reply
  


Forum Jump:


Browsing: 1 Guest(s)