Smart Home Automation Forum

Full Version: Template for KC868-A4 Tasmota
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am using this template {"NAME":"KC868-A4","GPIO":[32,0,227,0,224,225,0,0,0,1312,1,226,0,0,480,1152,0,1120,1056,1088,0,1,1,1,0,0,0,0,4706,4707,4704,4705],"FLAG":0,"BASE":1} ("https://blakadder.com/kincony-KC868-A4/").
 I am using everything except the 4 analogs; instead, I would like to use the digital inputs to connect 4 float switches ("https://www.amazon.es/-/pt/dp/B089VTDG7P/ref=asc_df_B089VTDG7P/?tag=ptgogshpadde-21&linkCode=df0&hvadid=634424762838&hvpos=&hvnetw=g&hvrand=12299730209074816985&hvpone=&hvptwo=&hvqmt=&hvdev=c&hvdvcmdl=&hvlocint=&hvlocphy=20876&hvtargid=pla-943952460943&th=1").

Could you please assist me with the template?
Thx Vasco Teixeira
your float sensor is dry contact signal, so need use by Digital Input port, not use analog input.
just set digital input port in your tasmota config webpage is ok.
(05-17-2023, 12:40 AM)admin Wrote: [ -> ]your float sensor is dry contact signal, so need use by Digital Input port, not use analog input.
just set digital input port in your tasmota config webpage is ok.

ye im trying to conf it , in tasmota parameterts i need to change GPI14/27/39/36 to what ?

https://prnt.sc/TaRaW5vqTg7l
for INPUT
(05-17-2023, 02:09 AM)admin Wrote: [ -> ]for INPUT
I'm new to working with Tasmota =(

 I changed the template parameters from GPI14/27/39/36 to Input 1/2/3/4. However, when I connect a wire in GND (ground) and the other end on D1 , the light on the board turns on, but nothing happens in the Tasmota console.

image in tasmota parameters 

https://prnt.sc/KKrqXuTmJbHX

https://prnt.sc/l1gXfQyrq_Y3
you can do step by step as this video tour: https://youtu.be/8NqOW0HJ4EA
(05-23-2023, 10:40 PM)admin Wrote: [ -> ]you can do step by step as this video tour: https://youtu.be/8NqOW0HJ4EA

that video you are using switch ( I test it and work fine ) but I don't need switch I need something to show me on console so I can get the  info on node-red (I need to know if  my float sensor dry contact signal  change to on )
I already test input and don't work =(
for example, i use digital input-1 with a PIR sensor. you can connect with your float sensor.
[attachment=2473]

define GPIO36 as Switch1

A configured PIR will not appear in the web UI in any form. To make it report like a sensor we need a rule that will send movement triggers to an MQTT topic.

SwitchMode1 1
SwitchTopic 0
Rule1 on Switch1#state=1 do publish stat/%topic%/PIR1 ON endon on Switch1#state=0 do Publish stat/%topic%/PIR1 OFF endon
Rule1 1

[attachment=2474]

now when you short digital input-1 to GND or not short it. 
[attachment=2476]
you will have feedback message, in your Node-Red, you can received MQTT feedback message for INPUT state:
[attachment=2475]
(05-24-2023, 01:52 AM)admin Wrote: [ -> ]for example, i use digital input-1 with a PIR sensor. you can connect with your float sensor.


define GPIO36 as Switch1

A configured PIR will not appear in the web UI in any form. To make it report like a sensor we need a rule that will send movement triggers to an MQTT topic.

SwitchMode1 1
SwitchTopic 0
Rule1 on Switch1#state=1 do publish stat/%topic%/PIR1 ON endon on Switch1#state=0 do Publish stat/%topic%/PIR1 OFF endon
Rule1 1



now when you short digital input-1 to GND or not short it. 

you will have feedback message, in your Node-Red, you can received MQTT feedback message for INPUT state:

Thx aloooot for the help now i can start working on my node-red I'm using your bord to command my pool xD 
its perfect =) continue with the great work .
you are welcome.