Search found 4 matches

by Osmi
03 Jan 2024, 10:32
Forum: ESP Easy: Software
Topic: Real time rotary encoder mqtt publish!
Replies: 6
Views: 7922

Re: Real time rotary encoder mqtt publish!

Hello. Thanks to the encwrite function and everyone who contributed to this, I managed to program it. Happy New Year 2024 to everyone.

Code: Select all

on mqtt#volume do
    encwrite,[mqtt#volume]
endon

on volume#value do
    Publish %sysname%/volume,[volume#value]
    TaskValueSet 4,1,[volume#value]
endon
by Osmi
15 Mar 2018, 04:15
Forum: ESP Easy: General Discussion
Topic: Rotary encoder plugin - set the internal value
Replies: 11
Views: 9976

Re: Rotary encoder plugin - set the internal value

budman1758 wrote: 14 Mar 2018, 23:20 First off... Why are you trying to manually override the rotary encoder?
Maybe he is trying to do something like me! viewtopic.php?f=6&t=3893&p=25985#p25985
by Osmi
15 Mar 2018, 03:37
Forum: ESP Easy: Software
Topic: Real time rotary encoder mqtt publish!
Replies: 6
Views: 7922

Re: Real time rotary encoder mqtt publish!

OK!
I am not very good at programing. let me start with, do not publish initial state 0 with mqtt...

On System#Boot
if volume#set=0
"do not publish 0"/dont know what to put here
endon
by Osmi
20 Dec 2017, 04:07
Forum: ESP Easy: Software
Topic: Real time rotary encoder mqtt publish!
Replies: 6
Views: 7922

Real time rotary encoder mqtt publish!

Hello everybody! I have Wemos D1 with latest test build connected to rotary encoder. I am controlling my receiver volume trough OpenHab mqtt binding. It is working well. I have two questions: 1. Is it possible to set Espeasy to publish encoder status in real time(fast)? 2. Can I set Espeasy not to p...