Esp-homekit-devices: Orvibo S25US

Created on 11 May 2020  路  4Comments  路  Source: RavenSystem/esp-homekit-devices

Hi dear, is it possible to include this device?
https://domoticaencasa.es/tutorial-como-cambiar-el-firmware-a-un-orvibo-b25/
I'm no familiar, but it works with you firmware haaboot.bin, the only problem is that doesnt have the right pins, so relay cant work, but i did the configurations in arduino-1.8.12, so i could turn on and turn off with the button, but once did it, homekit stopped, this device use QW8266-02Q

// ORVIBO
// -----------------------------------------------------------------------------

elif defined(ORVIBO_B25)

// Info
#define MANUFACTURER        "ORVIBO"
#define DEVICE              "B25"

// Buttons
#define BUTTON1_PIN         14
#define BUTTON1_MODE        BUTTON_PUSHBUTTON | BUTTON_DEFAULT_HIGH
#define BUTTON1_RELAY       1

// Relays
#define RELAY1_PIN          5
#define RELAY1_TYPE         RELAY_TYPE_NORMAL

// LEDs
#define LED1_PIN            12   // 4 blue led
#define LED1_PIN_INVERSE    1
#define LED2_PIN            4  // 12 red led
#define LED2_PIN_INVERSE    1

All 4 comments

Hi and welcome.

HAA is intended to work will all esp82xx devices around.
You yourself set the right pins and their actions.

Check this short step-by-step guide (skip steps 3 & 4) and adapt to pins you mentioned above:
https://github.com/RavenSystem/esp-homekit-devices/issues/931#issuecomment-626382358

Hi my friend, you give a very good light! I got it i can turn on and turn off Orvibo S25US from button and home app, i use template from Sonoff S20/S26, so i change this pins in got, have sucess with this one here:

{"c":{"l":4,"b":[{"g":0,"t":5}],"i":0},"a":[{"0":{"r":[{"g":5}]},"1":{"r":[{"g":5,"v":1}]},"t":2,"b":

The only thing i didnt solve is the blue and red light, by the way its working verrrry good!

That鈥檚 great you figured it out.

Try this one:
{"c":{"b":[{"g":0,"t":5}],"i":0},"a":[{"0":{"r":[{"g":5},{"g":12,"v":0},{"g":4,"v":1}]},"1":{"r":[{"g":5,"v":1},{"g":12,"v":0},{"g":4,"v":1}]},"t":2,"b":[{"g":14}],"s":0}]}

Here鈥檚:
button GPIO 14
ON enables relay 5 and LED 12 (blue) and disables LED 4 (red)
OFF disables relay 5 and LED 12 and enables LED 4 (red)

Copy my string to Online configurator to see it vividly.

i3Laze, thanks for help me, and i tried you but only blue light i got! But i change some parameters and got the right colors, so blue when on, and red when off. This is the final:

{"c":{"b":[{"g":0,"t":5}],"i":0},"a":[{"0":{"r":[{"g":5},{"g":12,"v":1},{"g":4,"v":0}]},"1":{"r":[{"g":5,"v":1},{"g":4,"v":1},{"g":12,"v":0}]},"t":2,"b":[{"g":14}],"s":0}]}

\o/

Thanks so much, i guess this could be include in the database!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

arturodiazad1 picture arturodiazad1  路  3Comments

freddair picture freddair  路  3Comments

ScottLeMagicien picture ScottLeMagicien  路  6Comments

lizzus picture lizzus  路  3Comments

i3laze picture i3laze  路  3Comments