Comments (1)
Hi, let me answer in English, so other subscribers can follow. In general a good idea and looks not be that complicated. Pulse width and length is easy to adjust and will work. Also start always with 30 pulses to "OFF" and then send the temperature is also quite easy to implement.
Now the tricky part: What is your use case?
If the ESP is always on and you just send the new temperature to the thermostat than this an easy task. This will also work nice with the increments because you may already know the current temperature. With deepsleep this is a completely different story. You need to store the "to be" temperature as a retained value into the MQTT server. With many clients it easy to process, but the ESP has some nasty limitations. on a subscribe to a topic you get only ONE message (if in good luck), sometimes nothing, but for sure not 2 or 3 messages if you e.g. subscribe to the wildcard topic like cmd/esp/#. I already tried to enhance the pubsublient but the problem seems to be deeper in the ESP espressif code.
Finally: There is no garantee that after a wakeup the temperature is read and set correctly because of the problem with the pubsubclient.
from sonoff-tasmota.
Related Issues (20)
- Sonoff 4CH Pro won´t save wlan credentials?! HOT 3
- SetOption80 1 HangUp the Device HOT 13
- Can´t connect to WIFI after upload your Firmware HOT 2
- SHUTTER50PERCENT not work HOT 7
- Erratic Behaviour when Slow Blinds - includes fix HOT 1
- Dim the lights in the switch? HOT 6
- Shutter dead time support HOT 11
- Vcc in state HOT 3
- Alexa Dimming doesnt work HOT 4
- PCF8574 on master HOT 2
- PCF8574: ports on at startup HOT 9
- MQTT Report during movement HOT 1
- DeepSleep consumption HOT 1
- MQT: TLS connection error: 0 HOT 4
- Calibration 2nd shutter HOT 1
- Shutter with LC-TECH X2 in mode 1 allows changing direction without power removal HOT 5
- MQT: TLS connection error: 0 HOT 1
- Mq sensor
- Sonoff touch TX T3 Us
- upgrading from Sonoff-Tasmota 6.5.0.11 stb-1.5 by Theo Arends HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sonoff-tasmota.