Shelly-homekit: Shelly1 PM

Created on 7 Feb 2020  路  17Comments  路  Source: mongoose-os-apps/shelly-homekit

Good evening

Would this work on the Shelly1 PM obviously without the PM features?

Thanks

Most helpful comment

Added to README and makefile, should be done now.

All 17 comments

i think it should but i have no device to test.
the safest way to test would be to make a backup using the serial connection as described here and give it a go.

No probs, thanks I will give it a try and let you know.

Any luck testing?

It will be some time later today I will be trying it.

i built the latest shelly1 firmware and flashed it to the shelly1 pm model, after the flash i temporarily powered it up and the setup went ok and its now added to homekit ok, i have setup as a momentary switch. but i cannot fit it to the lighting circuit till tomorrow to test it actually works or not :D

if it clicks when you set it to on and off, then it's fine

hi
no it doenst make any clicking noise, i have only L and N connected just to power the device.

the relay should still be clicking when you turn it on and off via the home app. maybe it uses different pin for relay control, i don't know

i will try with the original firmware, this was new out of the box, backed up and then flashed 1.2.0

yes, it uses different pins. but these are configurable without even rebuilding the firmware, try this:

mos --port ws://192.168.X.Y/rpc config-set sw1.in_gpio=4 sw1.out_gpio=15

use the device's IP address for 192.168.X.Y

hi,
that gives an error

Unknown Command

im running the command in the mos tool in windows 10, my laptop is on the same wifi network as the shelly

edit:-
i noticed a typo --port=ws:// but it still gives unknown command

ok, ignore the above, seems the command doenst want to work inside the mos tool,
but on the normal windows command line it works fine

c:\mos>mos --port=ws://192.168.6.88/rpc config-set sw1.in_gpio=4 sw1.out_gpio=15
Getting configuration...
Setting new configuration...

c:\mos>

now it clicks :D

can you check the input too?

hi yes that works too

created a PR, not sure if I did it correct, please review code.
https://github.com/mongoose-os-apps/shelly-homekit/pull/10

Added to README and makefile, should be done now.

Thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rojer picture rojer  路  13Comments

andyblac picture andyblac  路  9Comments

miamilabs picture miamilabs  路  8Comments

joe210599 picture joe210599  路  7Comments

rudyemm picture rudyemm  路  8Comments