But now I want connect an Rotary encoder to the esp in the place of a wallswitch.
Technical no problem , only the software I don't know.
Can anyone tel me how I can make A Rotary encoder to an esp-12 en read out?
How can I set this in "rules" en sent to Domoticz and so that the slider moves to.
I Have ever an Rotary program with picbasic , see below.
Code: Select all
If PORTB.0 = 1 Then
If PORTB.1 = 1 Then
Dec teller
Else
Inc teller
EndIf

