Sonoff Decoa Paddle Sensor Modifications

Sonoff Decoa Paddle Sensor Modifications

thingiverse

I modified two versions of the Decoa style wall switch created by Timpro here: https://www.thingiverse.com/thing:2830060, using the base box from here: https://www.thingiverse.com/thing:2804973. These modifications allow each toggle to accommodate either the AM312 motion sensor or the AM2301 Temperature/Humidity sensor and utilize the same Tasmota file changes outlined by Timpro in the original device details. The settings for the sensors are included above, and I use HomeAssistant to receive their data, which is shown below. AM312 Motion Sensor: The AM312 acts as a switch in the tasmota software, requiring two commands to change its behavior: SwitchMode1 1 and SwitchTopic wallswitchmotion. This allows the PIR to operate as a on/off switch that updates on a different MQTT topic than the default. In Home Assistant, I created a binary_sensor definition as follows: - platform: mqtt state_topic: "cmnd/wallswitchmotion/POWER1" name: "Den Motion" payload_on: "ON" payload_off: "OFF" device_class: motion AM2301 Temperature and Humidity Sensor: I wanted to measure humidity in a bathroom so that I can turn on the exhaust fan when someone is taking a shower. One important note is that while you can get temperature data from the sensor, it's not reliable due to the internal circuitry of the Sonoff board generating some normal heat in an enclosure. This device is built into the Tasmota software, so adding it was simply selecting it on the dropdown of the appropriate input. In my installation, I used it on serial out as it caused some odd issues on serial in. So, I switched the LED to Serial In and made it LED1 instead of LED1i. The Home Assistant configuration is as follows: - platform: mqtt name: "Upstairs Bathroom Temperature" state_topic: "tele/wallswitch6/SENSOR" value_template: "{{ value_json['AM2301'].Temperature }}" unit_of_measurement: "°F" - platform: mqtt name: "Upstairs Bathroom Humidity" state_topic: "tele/wallswitch6/SENSOR" value_template: "{{ value_json['AM2301'].Humidity }}" unit_of_measurement: "%"

Download Model from thingiverse

With this file you will be able to print Sonoff Decoa Paddle Sensor Modifications 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 Sonoff Decoa Paddle Sensor Modifications.