Closed BabaIsYou closed 1 year ago
Hello, so first phoscon will don't help you here, sorry. More will be possible using domoticz (but untested, so probably not finished)
About the presence sensor, need to make some search, because your device was added before the DDF core, so I don't remember how it work, but from my memory it was removed https://github.com/dresden-elektronik/deconz-rest-plugin/issues/5352#issuecomment-1186590115
The alarm system documentation states that "After pairing a keypad as sensor, it’s automatically added to the default alarm system with id “1”." In my case that's not what happened
Honnestly, I need to check too, but I never see that happen, moslty because users include the keypad before setting the code0 (so configured = false). As workaround you can add it using the API.
Edit 1: So yes it's present in the code, at least for legacy code, will not work with new devices added by DDF.
else if (sensorNode.type().endsWith(QLatin1String("AncillaryControl")))
{
...............
// by default add keypads to "default" alarm system 1
AlarmSystem *alarmSys = AS_GetAlarmSystem(1, *alarmSystems);
DBG_Assert(alarmSys != nullptr);
if (alarmSys)
{
alarmSys->addDevice(sensorNode.uniqueId(), AS_ENTRY_FLAG_IAS_ACE);
}
}
Try with re-including the keypad, now your alarm system is set.
Thx ! Didn’t really know if that was bugs or obsolete description/doc …
Most strange for me is that it doesn’t appear in DeConz GUI at all … first time I see that behavior … Phoscon is not a problem for me because I really use it only to have a kind of GUI when I’m fed up with PUT and GET via REST-API or have trouble with DeConz-plugin in Domoticz ;-)
Update : After looking into the database I saw it in device_gui table, then looking better and find it hidden by another device on the map. ;-)
Then that's fine.
Describe the bug
Steps to reproduce the behavior
Pairing the device to my Zigbee Network
Expected behavior
Having device present in DeConz GUI, perhaps having the presence sensor alos added and having the keypas added in the default alarm system (or may be could I modify the documentation)
Screenshots
Se above. I could add others if needed.
Environment
deCONZ Logs
Dont' have log to produce at this time, may be it's normal behavior but not certain of that.
Additional context