Computherm Q7 RF thermostat Heating ON button pusher. UPDATED

Computherm Q7 RF thermostat Heating ON button pusher. UPDATED

thingiverse

If you set the temperature to HOLD, then simply unlock it by pressing the SET button on the thermostat. This mechanism allows you to push a button from anywhere via the MQTT protocol provided by Adafruit. https://youtu.be/h-JX-WLHZMI Control your wireless thermostat using Adafruit's MQTT feature. You only need one ESP8266 board, one DHT11 sensor, and one SG90 servo motor. To make changes in the source code: * Replace WIFI_SSID with your Wi-Fi network's SSID. * Replace WIFI_PASS with your Wi-Fi password. * Replace MQTT_NAME with your Adafruit MQTT username. * Replace MQTT_PASS with your Adafruit MQTT password. The source code for Arduino is as follows: #include <ESP8266WiFi.h> #include "Adafruit_MQTT.h" #include "Adafruit_MQTT_Client.h" #include <Arduino.h> #include <Servo.h> Servo servo; int angle = 0; // servo position in degrees int servoPin = 14; #include "DHT.h" #define DHTPIN 2 #define DHTTYPE DHT11 #define WIFI_SSID "YOUR_WIFI_SSID" #define WIFI_PASS "YOUR_WIFI_PASSWORD" #define MQTT_SERV "io.adafruit.com" #define MQTT_PORT 1883 #define MQTT_NAME "YOUR_ADAFRUIT_MQTT_USERNAME" #define MQTT_PASS "YOUR_ADAFRUIT_MQTT_PASSWORD" DHT dht(DHTPIN, DHTTYPE); WiFiClient client; Adafruit_MQTT_Client mqtt(&client, MQTT_SERV, MQTT_PORT, MQTT_NAME, MQTT_PASS); // Set up the feed you're subscribing to Adafruit_MQTT_Subscribe onoff = Adafruit_MQTT_Subscribe(&mqtt, "YOUR_FEED"); void setup() { Serial.begin(115200); delay(10); pinMode(LED_BUILTIN, OUTPUT); servo.attach(servoPin); // Connect to Wi-Fi WiFi.begin(WIFI_SSID, WIFI_PASS); while (WiFi.status() != WL_CONNECTED) { delay(1000); Serial.println("Connecting to WiFi..."); } Serial.println("Connected to WiFi"); Serial.println("Initializing MQTT..."); mqtt.subscribe(&onoff); } void loop() { // ping the server to keep the MQTT connection alive if (!mqtt.ping()) { mqtt.disconnect(); } delay(1000); } /*************************************************** Adafruit MQTT Library ESP8266 Example Must use ESP8266 Arduino from: https://github.com/esp8266/Arduino Works great with Adafruit's Huzzah ESP board & Feather ----> https://www.adafruit.com/product/2471 ----> https://www.adafruit.com/products/2821 Adafruit invests time and resources providing this open source code, please support Adafruit and open-source hardware by purchasing products from Adafruit! Written by Tony DiCola for Adafruit Industries. MIT license, all text above must be included in any redistribution *****************************************************/ void MQTT_connect() { int8_t ret; // Stop if already connected if (mqtt.connected()) { return; } Serial.print("Connecting to MQTT... "); uint8_t retries = 3; while ((ret = mqtt.connect()) != 0) { Serial.println(mqtt.connectErrorString(ret)); Serial.println("Retrying MQTT connection in 5 seconds..."); mqtt.disconnect(); delay(5000); // wait 5 seconds retries--; if (retries == 0) { // basically die and wait for WDT to reset me while (1); } } Serial.println("MQTT Connected!"); }

Download Model from thingiverse

With this file you will be able to print Computherm Q7 RF thermostat Heating ON button pusher. UPDATED with your 3D printer. Click on the button and save the file on your computer to work, edit or customize your design. You can also find more 3D designs for printers on Computherm Q7 RF thermostat Heating ON button pusher. UPDATED.