My binary template sensor not working

Thanks. I think I understand how you managed to get the right readings with the sonoff.
I still have to figure out how to send commands to my Orcon unit…
It looks like a have a different remote unit…
The remote ( CO2 Remote control sensor 15RF ) downstairs looks like this:


And the unit self looks like this…

Already tried to play with the 868 mhz, but no luck. Thinking about to control it maybe somehow with a shelly/sonoff directly, but would not know where to start.

Besides the mains powered unit you show on the picture I also had a secondary battery powered remote.


(Dutch)

The “touch” panel for these buttons are connected via a ribbon cable you can easily replace.

Hi Frank, I have the same unit and I am trying to figure this out but I am running into some trouble when I try to simulate the touch switch with my esp. Do you mind sharing your esphome code? Would be greatly appreciated.

Bort

Sure, here it is.

esphome:
  name: orcon_mcu
  platform: ESP8266
  board: nodemcuv2

wifi:
  ssid: "-"
  password: "-"

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "-"
    password: "-"

captive_portal:

# Enable logging
logger:

# Enable Home Assistant API
api:

ota:

sensor:
  - platform: wifi_signal
    name: "MCU_ORCON Signal Strength"
    update_interval: 300s
    
switch:
  - platform: gpio
    pin: D1
    inverted: True
    id: buttonA
  - platform: gpio
    pin: D2
    inverted: True
    id: button1
  - platform: gpio
    pin: D5
    inverted: True
    id: button2
  - platform: gpio
    pin: D6
    inverted: True
    id: button3
  - platform: template
    name: "Orcon Fan Auto"
    icon: "mdi:autorenew"
    turn_on_action:
    - switch.turn_on: buttonA
    - delay: 500ms
    - switch.turn_off: buttonA
  - platform: template
    name: "Orcon Fan 1"
    icon: "mdi:numeric-1-circle-outline"
    turn_on_action:
    - switch.turn_on: button1
    - delay: 500ms
    - switch.turn_off: button1
  - platform: template
    name: "Orcon Fan 2"
    icon: "mdi:numeric-2-circle-outline"
    turn_on_action:
    - switch.turn_on: button2
    - delay: 500ms
    - switch.turn_off: button2
  - platform: template
    name: "Orcon Fan 3"
    icon: "mdi:numeric-3-circle-outline"
    turn_on_action:
    - switch.turn_on: button3
    - delay: 500ms
    - switch.turn_off: button3

Nice! Thanks!

Hi Frank,

You’ve came up with the best solution to control the ORCON unit! All the other solutions are about changing the MVS-15 unit itself.

I’m new into ‘hardware’, so I’ve some questions you hopefully can answer.

I’ve searched on AliExpres for the band cable, cables and terminal board but couldn’t find similar ones. Which ones did you use?

Can you provide a photo of the cables connected to NodeMCU?

This is what I used.

terminal board

8pins, 1.0mm

band cable:

Package: 100mm
Insert Type: Type A
Connector Type: 1.0MM
Pins: 8P

Wiring
image

4 Likes

Thanks for helping me out!

@Frank_R great project description! I was looking for this manual (or only just a part of it) for a very long time!

@Frank_R Great mod, thanks for describing! I suppose you link the state of the ventilation to the start/stop of your showering/cooking or does it serve another purpose? If so, does this provide a lot of extra comfort compared to the “auto” mode in which the ventilation is automatically adjusted based on CO2 and moisture sensors in the device? I suppose the goal is to get rid of a lag phase, during which the “auto” ventilation is not yet adjusted when you just started showering?

Yes, indeed. I’m now in full control when and how much ventilation is required. Especially for showering I feel it’s improved.
But I’m also using this for the toilets. When movement is detected the ventilation starts. The duration even depends on which flush button is used :slight_smile:

1 Like

Thanks for the feedback! How does one monitor flush button pressing? :face_with_raised_eyebrow:

Behind the plastic flush cover stick two xiami tilt/vibration-sensors to the buttons :slight_smile:

1 Like

Does anyone has experience making this work with Homey?

@Frank_R How do you pair the ESP with the Orcon?
I tried to pair it first with the original remote cable connected, press A and 1 together after a fresh power down and up of the Orcon device. Now it’s pair and works. But if I now replace the cable connected to my ESP it doesn’t work. Also when I switch back the cable of the remote it isn’t working anymore.
So removing the cable is not a good idea.

– Update–
It works! The cable order was not correct on the adapter board.
Now I could pair with original sensor, replace the cable back to the ESP and control it from Home Assistant!

I added this to my esp yaml template and now I can also control the fan via MQTT.

mqtt:
  broker: xxx.xxx.xxx.xxx
  username: xxx
  password: xxx
  on_message:
     - topic: oron_mcu/mode_away
       then:
         - switch.turn_on: buttonA
         - delay: 500ms
         - switch.turn_off: buttonA
     - topic: oron_mcu/mode_auto
       then:
         - switch.turn_on: buttonA
         - delay: 500ms
         - switch.turn_off: buttonA
     - topic: oron_mcu/mode_timer
       then:
         - switch.turn_on: buttonA
         - delay: 500ms
         - switch.turn_off: buttonA
     - topic: oron_mcu/mode_1
       then:
         - switch.turn_on: button1
         - delay: 500ms
         - switch.turn_off: button1
     - topic: oron_mcu/mode_2
       then:
         - switch.turn_on: button2
         - delay: 500ms
         - switch.turn_off: button2
     - topic: oron_mcu/mode_3
       then:
         - switch.turn_on: button3
         - delay: 500ms
         - switch.turn_off: button3

Thank you @Frank_R
I’ve also built this, but added the timer too. Lane 3 is the Timer, Lane 5 is the Away setting. I connected Terminal Pin6 to D7 on the NodeMCU. Then changed the esp yaml template. Starting at switch: I changed it for the following:

switch:
  - platform: gpio
    pin: D1
    inverted: True
    id: buttonA
  - platform: gpio
    pin: D2
    inverted: True
    id: button1
  - platform: gpio
    pin: D5
    inverted: True
    id: button2
  - platform: gpio
    pin: D6
    inverted: True
    id: button3
  - platform: gpio
    pin: D7
    inverted: True
    id: buttonT
  - platform: template
    name: "Orcon Ventilatie Auto"
    icon: "mdi:fan-auto"
    turn_on_action:
    - switch.turn_on: buttonA
    - delay: 500ms
    - switch.turn_off: buttonA
  - platform: template
    name: "Orcon Ventilatie 1"
    icon: "mdi:fan-speed-1"
    turn_on_action:
    - switch.turn_on: button1
    - delay: 500ms
    - switch.turn_off: button1
  - platform: template
    name: "Orcon Ventilatie 2"
    icon: "mdi:fan-speed-2"
    turn_on_action:
    - switch.turn_on: button2
    - delay: 500ms
    - switch.turn_off: button2
  - platform: template
    name: "Orcon Ventilatie 3"
    icon: "mdi:fan-speed-3"
    turn_on_action:
    - switch.turn_on: button3
    - delay: 500ms
    - switch.turn_off: button3
  - platform: template
    name: "Orcon Timer 1"
    icon: "mdi:fast-forward-15"
    turn_on_action:
    - switch.turn_on: buttonT
    - delay: 500ms
    - switch.turn_off: buttonT
  - platform: template
    name: "Orcon Timer 2"
    icon: "mdi:fast-forward-30"
    turn_on_action:
    - switch.turn_on: buttonT
    - delay: 500ms
    - switch.turn_off: buttonT
    - delay: 500ms
    - switch.turn_on: buttonT
    - delay: 500ms
    - switch.turn_off: buttonT
  - platform: template
    name: "Orcon Timer 3"
    icon: "mdi:fast-forward-60"
    turn_on_action:
    - switch.turn_on: buttonT
    - delay: 500ms
    - switch.turn_off: buttonT
    - delay: 500ms
    - switch.turn_on: buttonT
    - delay: 500ms
    - switch.turn_off: buttonT
    - delay: 500ms
    - switch.turn_on: buttonT
    - delay: 500ms
    - switch.turn_off: buttonT

So basically, added the three timer options: 15min, 30min and 60min. These run the fan for 15/30/60 minutes at the highest setting. (Also changed the mdi icons of the other buttons.)

Maybe I’ll add the Away button too, but I’ll have to figure out to which pin on the NodeMCU that could be connected, since I’m a newbie at that front. I might add a reconnect button too (‘press’ auto + speed 2 for 3 secs) because my orcon remote seems to reset it’s connection to the main unit if I change anything about the wires. Quite annoying.

Nice addon :slight_smile:
Didn’t know the timer setting worked like that.

1 Like

I also created this controller and documented it on Control an Orcon mechanic ventilation system from Home Assistant | vd Brink Home Automations

I also created 3 home assistant dashboards to control it

1 Like

Hello, Sorry to jump in an old topic.
I am new to HA and starting to migrate from Domoticz.
Some things are easy in HA but here is one I do not get.
When you have in Domoticz a switch the dashboard will show the current status also when the switch is a push button. I have build the above setting and that works. The only thing is that when the switch is activated it shows the action but only for the 500ms delay.
Is there a way to see the actual status pa when the fan is in mode 2 the 2 keeps colored?

Kind regards, Har