-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The Hard Thermostat merge #3375
Comments
Hi, Yes, would be great to have a webmenu for a chrono-thermostat but there is not much flash memory to add much more webmenus. By now, you can use the thermostat example that is in the wiki at the chapter rules. The User Interfacing can be done in your home automation software. Your HA can send mqtt messages to give new temperature setpoints. May be in the future we can find a better way. |
@mcc05 Using a HA really adds a lot more functionality - I have node-red running monitoring bedroom temperature using a BMP180 sensor connected to an ESP8266 Tasmota firmware board which sends temperature to node-red on 15 second intervals through telemetry logging. Node-red then decides what to do sending either on or off commands to a sonoff basic to turn the heater on and off. I also have my electric blanket connected to a sonoff on full setting all day and it goes on for a few minutes when I shut down in my lab and warms up the bed whilst I am on my way past the kitchen... then switches to an interval based on the temperature in the room which usually results in something around 50 seconds out of every 5 minutes. Further to this I can schedule in node-red and also change settings/parameters using messaging from my phone using Telegram (similar to Whatsapp, perhaps just less popular but it has a open API) Looks like the temp in the room is still dropping at around 0.1 deg C/ 30minutes so it should kick in automagically when it reaches 19.0 degrees and then it will bounce between that and 19.2 throughout the night and eventually switch off sometime in the morning. |
I agree with you both. But would be nice to create rules without console just like timers. a thermostat is one very good use case for Sonoffs in general. I agree with the HA approach for complex interactions, but I would prefer this for augmenting a bullet proof 'just do this' until told different without Wi-Fi etc. |
how do i use a standalone command for dht sensor? is possible? Rule1 1 on DHT11#temperature>28 do power1 1 endon on dht11#temperature<30 do power1 0 endon |
All, rule1 The next problem is timers, so I have the following: which does equate to controlling 1 on and off time period per day of the week, however most thermostats at least allow for 3 schedules per day, morning / afternoon / nighttime, but with only 16 timers this is not possible it would need 21. Is there a better way to do timers or a way to increase the numbers? It would be nice if each timer supported a start/stop time, then in effect for the 16 we would get 32 timeslices? Mark |
I've updated the wiki with a working example, I've been running it for a day now with no issues. |
thanks for the answer, I tried to use the commands on a wemos D1 mini (18 Generic mode), not unfortunately did not work. "Is there a better way to make timers or a way to increase numbers? Would it be nice if each timer supported a start / stop time, then in effect for the 16, we would get 32 timeslices?"_ Another idea that would find more interesting, is instead of "CONFIGURE_TIMER", there should be a "CONFIGURE_RULE" with the following options, timer-on / timer-off and interval, temp-on / temp-off for example. |
So the thermostat rules do not work on d1 mini?? works on sonoff basic and that's not a th which it said it was for |
I could not make wemos D1 work, just the timer function, I did not test the thermostat rules in sonoff, because mine is a basic sonoff. |
Been testing out the Hard Thermostat #481, code and it seems to work great, however it predates timers which would make it excellent, and chance of a merge, or similar web driven functionality, that uses the rules functinallity introduced.
The text was updated successfully, but these errors were encountered: