├── MV-control schema.pdf ├── mv.yaml └── readme.md /MV-control schema.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/llevering/orcon-mvs-15r-esp8266/HEAD/MV-control schema.pdf -------------------------------------------------------------------------------- /mv.yaml: -------------------------------------------------------------------------------- 1 | esphome: 2 | name: mv_control 3 | platform: ESP8266 4 | board: d1_mini 5 | 6 | wifi: 7 | ssid: !secret ssid 8 | password: !secret wifi_password 9 | 10 | # Enable fallback hotspot (captive portal) in case wifi connection fails 11 | ap: 12 | ssid: "MV Fallback Hotspot" 13 | password: !secret fallback_password 14 | 15 | captive_portal: 16 | 17 | # Enable logging 18 | logger: 19 | 20 | # Enable Home Assistant API 21 | api: 22 | 23 | ota: 24 | 25 | output: 26 | - platform: esp8266_pwm 27 | pin: D6 28 | frequency: 1000 Hz 29 | id: mv_pwm_out 30 | inverted: true 31 | 32 | switch: 33 | - platform: gpio 34 | name: "mv_unit_speed_bypass" 35 | id: mv_unit_speed_bypass 36 | pin: 37 | number: D8 38 | inverted: True 39 | 40 | light: 41 | - platform: monochromatic 42 | output: mv_pwm_out 43 | name: "mv_unit_speed" 44 | id: mv_unit_speed 45 | gamma_correct: 1 46 | 47 | sensor: 48 | - platform: pulse_counter 49 | pin: D2 50 | name: mv_tacho 51 | force_update: true 52 | update_interval: 5s 53 | accuracy_decimals: 0 54 | internal_filter: 250us 55 | - platform: pulse_width 56 | pin: D1 57 | id: mv_speed_requested 58 | update_interval: 2s 59 | accuracy_decimals: 5 60 | internal: true 61 | on_value: 62 | then: 63 | - component.update: mv_remote_state 64 | text_sensor: 65 | - platform: template 66 | id: mv_remote_state 67 | name: mv_remote_state 68 | icon: mdi:fan 69 | lambda: |- 70 | float speed = id(mv_speed_requested).state; 71 | if(speed <= 0.00004) 72 | { 73 | return {}; 74 | } 75 | else if(speed < 0.00008) 76 | { 77 | return {"Away"}; 78 | } 79 | else if(speed < 0.00010) 80 | { 81 | return {"1"}; 82 | } 83 | else if(speed < 0.00038) 84 | { 85 | return {"2"}; 86 | } 87 | else 88 | { 89 | return {"3"}; 90 | } 91 | -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- 1 | # Orcon MVS-15R Wifi control 2 | By default the Orcon mechanical ventilation unit doesn't support any 'smart' connectivity. With help from a forum a topic on Tweakers (dutch)[^1] I gathered a good deal of information and ideas on how to make this device 'smart'. 3 | 4 | In the file 'MV-control schema.pdf' you will find the different blocks that together form the schema of the control board. I intended to design a pcb therefore the drawings were made in EasyEDA, but in the end I decided to solder everything myself. 5 | 6 | Most components should be clear from the schematics, but a few are not self-explainatory: 7 | 1. The connector female to the mainboard of the MV unit itself should be a 'JST PH 4-pin female' (recommendation from Gerard33: https://nl.aliexpress.com/item/33024685895.html). 8 | 2. The connector header where the female plug from the fan should connect to is a JST PH 4-pin female (again the unit I ordered didn't fit to well). 9 | 3. Any 5v low-active relay will work, 5v or 3.3 high active would work as well. You just need to readjust the 'Bypass relay block' (I used: https://www.tinytronics.nl/shop/nl/diversen/relais/5v-relais-1-channel-laag-actief) 10 | 4. For the ESP board I use the Wemos D1 mini v3.1.0, but any ESP8266 will do as long as you can wire it up in one-way or the other. 11 | 12 | In the mv.yaml you find an Esphome config file. Esphome can be used to compile the binary and let it upload the binary to the ESP8266. Esphome is a great solution if you want to connect to Home Assistant. In case you like a different home automation solution firmwares like Tasmota, Espeasy and Espurna might be suited to you. 13 | 14 | When you use the provided configuration you will notice that the `mv_unit_speed` entity is defined as light. This is done so you can 'dim' the fan from over the full PWM range (from about 15% the fan will start turning). A normal fan component in Esphome only supports three speeds. However stepless dimming is one of the best advantages of this setup. 15 | 16 | [^1]: https://gathering.tweakers.net/forum/list_messages/1806429 17 | --------------------------------------------------------------------------------