Gå til innhold
  • Bli medlem
Støtt hjemmeautomasjon.no!

Anbefalte innlegg

Skrevet

Har en Namron 8K switch 4512703 som har ligget en stund uten å vært i bruk: 

 

image.png.afbb16ebb0bbb731a67eabb80a600053.png

 

Nå kan det se ut som den ikke er kompatibel med HomeAssistent / Z2M...? Er det noen som har suksess med å få den til å virke med Z2M?

 

Får parret den med Z2M, men ser kun signal strenght og batteriindikator. Kan heller ikke finne noen Blueprints for Z2M, bare for ZHA. Før jeg kaster inn håndkledet og gir opp, noen som har fått til dette?

 

Skrevet (endret)

Fungerer utmerket den her.

Men den sender events, så du må trigge på disse.

Sitat

Triggered action (e.g. a button click). Value can be found in the published state on the action property. It's not possible to read (/get) or write (/set) this value. The possible values are: on_l1, off_l1, brightness_move_up_l1, brightness_move_down_l1, brightness_stop_l1, on_l2, off_l2, brightness_move_up_l2, brightness_move_down_l2, brightness_stop_l2, on_l3, off_l3, brightness_move_up_l3, brightness_move_down_l3, brightness_stop_l3, on_l4, off_l4, brightness_move_up_l4, brightness_move_down_l4, brightness_stop_l4.

 

Bruker du Node-Red kan du importere denne:

[{"id":"4d3659659ad81942","type":"server-state-changed","z":"0481d1d9b9b1d87e","name":"Livingroom Wallswitch Action","server":"ce440416.77f1e8","version":4,"outputs":1,"for":0,"forType":"num","forUnits":"minutes","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"eventData"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"}],"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"sensor.zigbee_livingroom_wallswitch_action","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"","halt_if_type":"str","halt_if_compare":"is_not","output_only_on_state_change":true,"x":620,"y":920,"wires":[["4cfb5b9adc55ecc8"]]},{"id":"4cfb5b9adc55ecc8","type":"switch","z":"0481d1d9b9b1d87e","name":"Switch Actions","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"on_l1","vt":"str"},{"t":"eq","v":"off_l1","vt":"str"},{"t":"eq","v":"brightness_move_up_l1","vt":"str"},{"t":"eq","v":"brightness_move_down_l1","vt":"str"},{"t":"eq","v":"brightness_stop_l1","vt":"str"},{"t":"eq","v":"on_l2","vt":"str"},{"t":"eq","v":"off_l2","vt":"str"},{"t":"eq","v":"brightness_move_up_l2","vt":"str"},{"t":"eq","v":"brightness_move_down_l2","vt":"str"},{"t":"eq","v":"brightness_stop_l2","vt":"str"},{"t":"eq","v":"on_l3","vt":"str"},{"t":"eq","v":"off_l3","vt":"str"},{"t":"eq","v":"brightness_move_up_l3","vt":"str"},{"t":"eq","v":"brightness_move_down_l3","vt":"str"},{"t":"eq","v":"brightness_stop_l3","vt":"str"},{"t":"eq","v":"on_l4","vt":"str"},{"t":"eq","v":"off_l4","vt":"str"},{"t":"eq","v":"brightness_move_up_l4","vt":"str"},{"t":"eq","v":"brightness_move_down_l4","vt":"str"},{"t":"eq","v":"brightness_stop_l4","vt":"str"}],"checkall":"false","repair":false,"outputs":20,"x":775,"y":920,"wires":[["5b23dd782539ced5"],["50604be90b827992"],["8bb45d836b4cb11c"],["7a288fd45d0d27cc"],["cf7ae0527c612bb3"],["5b0a57b2b0729c85"],["04166aaa24e58df8"],[],[],[],[],[],[],[],[],["17bc73f26310bb03"],["8827eea195645256"],["30fad7039808adbe"],["ec746b28673cb5cd"],["5f22c01ff304b15a"]],"l":false},{"id":"ce440416.77f1e8","type":"server","name":"Home Assistant","version":4,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true,"heartbeat":false,"heartbeatInterval":30,"areaSelector":"friendlyName","deviceSelector":"friendlyName","entitySelector":"friendlyName","statusSeparator":"at: ","statusYear":"hidden","statusMonth":"short","statusDay":"numeric","statusHourCycle":"h23","statusTimeFormat":"h:m"}]

 

Endret av Evelen
  • Like 1
Skrevet
Evelen skrev (11 timer siden):

Fungerer utmerket den her.

Men den sender events, så du må trigge på disse.

 

Bruker du Node-Red kan du importere denne:

[{"id":"4d3659659ad81942","type":"server-state-changed","z":"0481d1d9b9b1d87e","name":"Livingroom Wallswitch Action","server":"ce440416.77f1e8","version":4,"outputs":1,"for":0,"forType":"num","forUnits":"minutes","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"eventData"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"}],"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"sensor.zigbee_livingroom_wallswitch_action","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"","halt_if_type":"str","halt_if_compare":"is_not","output_only_on_state_change":true,"x":620,"y":920,"wires":[["4cfb5b9adc55ecc8"]]},{"id":"4cfb5b9adc55ecc8","type":"switch","z":"0481d1d9b9b1d87e","name":"Switch Actions","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"on_l1","vt":"str"},{"t":"eq","v":"off_l1","vt":"str"},{"t":"eq","v":"brightness_move_up_l1","vt":"str"},{"t":"eq","v":"brightness_move_down_l1","vt":"str"},{"t":"eq","v":"brightness_stop_l1","vt":"str"},{"t":"eq","v":"on_l2","vt":"str"},{"t":"eq","v":"off_l2","vt":"str"},{"t":"eq","v":"brightness_move_up_l2","vt":"str"},{"t":"eq","v":"brightness_move_down_l2","vt":"str"},{"t":"eq","v":"brightness_stop_l2","vt":"str"},{"t":"eq","v":"on_l3","vt":"str"},{"t":"eq","v":"off_l3","vt":"str"},{"t":"eq","v":"brightness_move_up_l3","vt":"str"},{"t":"eq","v":"brightness_move_down_l3","vt":"str"},{"t":"eq","v":"brightness_stop_l3","vt":"str"},{"t":"eq","v":"on_l4","vt":"str"},{"t":"eq","v":"off_l4","vt":"str"},{"t":"eq","v":"brightness_move_up_l4","vt":"str"},{"t":"eq","v":"brightness_move_down_l4","vt":"str"},{"t":"eq","v":"brightness_stop_l4","vt":"str"}],"checkall":"false","repair":false,"outputs":20,"x":775,"y":920,"wires":[["5b23dd782539ced5"],["50604be90b827992"],["8bb45d836b4cb11c"],["7a288fd45d0d27cc"],["cf7ae0527c612bb3"],["5b0a57b2b0729c85"],["04166aaa24e58df8"],[],[],[],[],[],[],[],[],["17bc73f26310bb03"],["8827eea195645256"],["30fad7039808adbe"],["ec746b28673cb5cd"],["5f22c01ff304b15a"]],"l":false},{"id":"ce440416.77f1e8","type":"server","name":"Home Assistant","version":4,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true,"heartbeat":false,"heartbeatInterval":30,"areaSelector":"friendlyName","deviceSelector":"friendlyName","entitySelector":"friendlyName","statusSeparator":"at: ","statusYear":"hidden","statusMonth":"short","statusDay":"numeric","statusHourCycle":"h23","statusTimeFormat":"h:m"}]

 

 

Takk for tips.

 

Da får jeg utforske videre. Bruker ikke NodeRed (enda). Får se om det finnes noe Bluescript eller annet jeg kan støtte meg på.

 

 

Bli med i samtalen

Du kan publisere innhold nå og registrere deg senere. Hvis du har en konto, logg inn nå for å poste med kontoen din.

Gjest
Skriv svar til emnet...

×   Du har limt inn tekst med formatering.   Lim inn uten formatering i stedet

  Du kan kun bruke opp til 75 smilefjes.

×   Lenken din har blitt bygget inn på siden automatisk.   Vis som en ordinær lenke i stedet

×   Tidligere tekst har blitt gjenopprettet.   Tøm tekstverktøy

×   Du kan ikke lime inn bilder direkte. Last opp eller legg inn bilder fra URL.

×
×
  • Opprett ny...

Viktig informasjon

Vi har plassert informasjonskapsler/cookies på din enhet for å gjøre denne siden bedre. Du kan justere dine innstillinger for informasjonskapsler, ellers vil vi anta at dette er ok for deg.