04-11-2023, 01:35 PM
format problem. you are using ‘output-1’, it should be 'output-1'
that is different character.
that is different character.
Lesson9 - integrate KC868-Server to home assistant by MQTT
|
04-11-2023, 01:35 PM
format problem. you are using ‘output-1’, it should be 'output-1'
that is different character.
04-21-2023, 10:23 AM
Hello sir, i have integrate E16s relay module with KC868-Server - but - manual control button on E16s module is not working
i have attached a screenshot - see output is "on" but when i am trying to manually make it "off" with control button on E16s module it not working please share a code
Thanks & Regards,
Arshad Abbas
04-21-2023, 10:49 AM
it's normal, work well, because you have not set the INPUT trigger OUTPUT command.
such as these code: switch: - platform: gpio name: "light1" id: light1 pin: pcf8574: pcf8574_hub_out_1 number: 0 mode: OUTPUT inverted: true ------------------------------------ binary_sensor: - platform: gpio name: "input1" on_press: then: - switch.toggle: light1 pin: pcf8574: pcf8574_hub_in_1 number: 0 mode: INPUT inverted: true ----------------------------------------- the important is add these code: on_press: then: - switch.toggle: light1
04-21-2023, 12:22 PM
(04-21-2023, 10:49 AM)admin Wrote: it's normal, work well, because you have not set the INPUT trigger OUTPUT command. i have write the code in file , getting some error - tried to fix but seems some "TAB" "SPACE" issue please help below code switch: - platform: gpio name: "e16s-output1" pin: pcf8574: pcf8574_hub_out_1 number: 0 mode: OUTPUT inverted: true binary_sensor: - platform: gpio name: "e16s-input1" on_press: then: - switch.toggle: output1 pin: pcf8574: pcf8574_hub_in_1 number: 0 mode: INPUT inverted: true
Thanks & Regards,
Arshad Abbas
04-21-2023, 01:34 PM
i have corrected my code , Manual button on E16s are working now.
Automations and Templates — ESPHome switch: - platform: gpio name: "e16s-output1" id: output1 >>>>>>>>>>> add id pin: pcf8574: pcf8574_hub_out_1 number: 0 mode: OUTPUT inverted: true binary_sensor: - platform: gpio name: "e16s-input1" on_press: then: - switch.toggle: output1 >>>>>>>> map id pin: pcf8574: pcf8574_hub_in_1 number: 0 mode: INPUT inverted: true
Thanks & Regards,
Arshad Abbas
04-21-2023, 11:26 PM
ok
06-17-2023, 10:42 PM
06-17-2023, 11:06 PM
you can see here, have sample code: https://www.kincony.com/kc868-h32b-integ...-mqtt.html
06-18-2023, 12:56 AM
i just bought the server , AIO and couple of AP .
How do you recommed to start and configure them? by MQTT or ESP Home?
06-18-2023, 08:30 AM
suggest config by ESPHome, it's easy and stable.
|
« Next Oldest | Next Newest »
|
Users browsing this thread: |
1 Guest(s) |