aendue / ioBroker.reolink

Reolink adapter for ioBroker
MIT License
21 stars 9 forks source link

RLC-830A LED #31

Open bertl83 opened 10 months ago

bertl83 commented 10 months ago

Einbindung der LED einer RLC-830A wäre super:

curl -X POST 'http://IP/cgi-bin/api.cgi?user=USER&password=Pass' -d '[{"cmd": "GetWhiteLed", "action": 0 , "param": { "channel": 0 }}]'

liefert: [ { "cmd" : "GetWhiteLed", "code" : 0, "initial" : { "WhiteLed" : { "wlAiDetectType" : { "dog_cat" : 0, "people" : 0, "vehicle" : 0 } } }, "range" : { "AiDetectType" : { "dog_cat" : "boolean", "people" : "boolean", "vehicle" : "boolean" }, "WhiteLed" : { "bright" : { "max" : 100, "min" : 0 } } }, "value" : { "WhiteLed" : { "LightingSchedule" : { "EndHour" : 6, "EndMin" : 0, "StartHour" : 18, "StartMin" : 0 }, "bright" : 91, "channel" : 0, "mode" : 0, "state" : 0, "wlAiDetectType" : { "dog_cat" : 1, "people" : 1, "vehicle" : 1 } } } } ]

Nibbels commented 1 month ago

@bertl83 Ich habe den starken Verdacht, dass https://github.com/aendue/ioBroker.reolink/pull/55 die Funktion die du suchst bereitstellt. Kannst du das bestätigen?