Medion Smart Plug Custom Firmware Settings
Last edited 15/05/2019 - 21:03
Finally got time to integrate some of these I picked up into Home Assistant. https://www.ozbargain.com.au/node/407287
Dumping some knowledge here to save people some time if these get released again…
I used tuya-convert to flash esphome firmware over wifi (OTA).
As mentioned in the thread the button is noisy AF which probably was why they initially were scuffed, to get the button working as normal you will need to use an internal pullup and a debounce to filter random signals sent on the pin.
Switches have been stable for hours. The button is helpful as it can toggle the relay or trigger any other action in your house.
GPIO3 - Button - Inverted = True, Internal Pullup, Debounce: 100ms seems to be fine
GPIO14 - Relay - Inverted = False
GPIO15 - Blue LED - Inverted = True
Have read that these plugs may come with red led and/or or power monitoring features (i did get some readings on some pins so this may be possible) which may be helpful but not for what I am using plugs now.