homebridge-shelly icon indicating copy to clipboard operation
homebridge-shelly copied to clipboard

Shelly i3

Open Benje712 opened this issue 4 years ago • 19 comments

Thanks for creating the tool and making it possible to use the Shelly devices in homebridge.

I just wanted to post the output for the new Shelly i3 device. Shouldn’t be that hard to implement I hope.

Type: SHIX3-1 CoAP description: {"blk":[{"I":0,"D":"Device"}],"sen":[{"I":118,"T":"S","D":"Input","R":"0/1","L":0},{"I":128,"T":"S","D":"Input","R":"0/1","L":0},{"I":138,"T":"S","D":"Input","R":"0/1","L":0},{"I":119,"T":"S","D":"Input event","R":"S/L/SS/SSS/SL/LS","L":0},{"I":129,"T":"S","D":"Input event","R":"S/L/SS/SSS/SL/LS","L":0},{"I":139,"T":"S","D":"Input event","R":"S/L/SS/SSS/SL/LS","L":0},{"I":120,"T":"S","D":"Input event counter","R":"U16","L":0},{"I":130,"T":"S","D":"Input event counter","R":"U16","L":0},{"I":140,"T":"S","D":"Input event counter","R":"U16","L":0}]} CoAP status: {"G":[[0,118,0],[0,128,0],[0,138,0],[0,119,""],[0,129,""],[0,139,""],[0,120,0],[0,130,0],[0,140,0]]} HTTP Settings:: {"device":{"type":"SHIX3-1","mac":"434343434343","hostname":"shellyix3-54545454","num_inputs":3,"num_outputs":0},"wifi_ap":{"enabled":false,"ssid":"shellyix3-656565","key":""},"wifi_sta":{"enabled":true,"ssid":"generic","ipv4_method":"dhcp","ip":null,"gw":null,"mask":null,"dns":null},"wifi_sta1":{"enabled":false,"ssid":null,"ipv4_method":"dhcp","ip":null,"gw":null,"mask":null,"dns":null},"mqtt":{"enable":false,"server":"192.168.33.3:1883","user":"","id":"shellyix3-A4CF12F47621","reconnect_timeout_max":60,"reconnect_timeout_min":2,"clean_session":true,"keep_alive":60,"max_qos":0,"retain":false,"update_period":30},"coiot":{"update_period":15},"sntp":{"server":"time.google.com","enabled":true},"login":{"enabled":false,"unprotected":false,"username":"admin"},"pin_code":"","name":"","fw":"20200601-123434/v1.7.0@d7961837","factory_reset_from_switch":true,"discoverable":true,"build_info":{"build_id":"20200601-123434/v1.7.0@d7961837","build_timestamp":"2020-06-01T12:34:34Z","build_version":"1.0"},"cloud":{"enabled":false,"connected":false},"timezone":"Europe/Berlin","lat":53.551102,"lng":9.99368,"tzautodetect":true,"tz_utc_offset":7200,"tz_dst":true,"tz_dst_auto":true,"time":"13:36","unixtime":1591882585,"hwinfo":{"hw_revision":"prod-2020-04-21","batch_id":1},"longpush_duration_ms":{"min":800,"max":3000},"multipush_time_between_pushes_ms":{"max":500},"inputs":[{"name":null,"btn_type":"toggle","btn_reverse":0,"btn_on_url":"http://192.168.1.167/relay/0?turn=on","btn_off_url":"http://192.168.1.167/relay/0?turn=off","shortpush_url":null,"longpush_url":null,"double_shortpush_url":null,"triple_shortpush_url":null,"shortpush_longpush_url":null,"longpush_shortpush_url":null},{"name":null,"btn_type":"momentary","btn_reverse":0,"btn_on_url":null,"btn_off_url":null,"shortpush_url":null,"longpush_url":null,"double_shortpush_url":null,"triple_shortpush_url":null,"shortpush_longpush_url":null,"longpush_shortpush_url":null},{"name":null,"btn_type":"momentary","btn_reverse":0,"btn_on_url":null,"btn_off_url":null,"shortpush_url":null,"longpush_url":null,"double_shortpush_url":null,"triple_shortpush_url":null,"shortpush_longpush_url":null,"longpush_shortpush_url":null}]} HTTP Status:: {"wifi_sta":{"connected":true,"ssid":"65656565","ip":"192.168.1.140","rssi":-59},"cloud":{"enabled":false,"connected":false},"mqtt":{"connected":false},"time":"13:36","unixtime":1591882585,"serial":1,"has_update":false,"mac":"75757575","inputs":[{"input":0,"event":"","event_cnt":0},{"input":0,"event":"","event_cnt":0},{"input":0,"event":"","event_cnt":0}],"update":{"status":"idle","has_update":false,"new_version":"20200601-123434/v1.7.0@d7961837","old_version":"20200601-123434/v1.7.0@d7961837"},"ram_total":50296,"ram_free":40120,"ram_lwm":34120,"fs_size":233681,"fs_free":155369,"uptime":759}

Thanks in advance

Benje712 avatar Jun 11 '20 11:06 Benje712

+1

themfinger avatar Jun 15 '20 16:06 themfinger

+1

Cunner avatar Jun 16 '20 15:06 Cunner

The latest beta version of this plugin now has support for the Shelly i3. You can try it out by installing homebridge-shelly@beta.

alexryd avatar Jun 30 '20 20:06 alexryd

Thanks for your effort! Behavior works perfectly fine as expected. Is their a chance of also implementing a Toogle switch Typ? As of now it’s only possible to use the Shelly I3 with it set to momentary. Can only speak for myself but would love to use it to also replace toggle switches without using the multi click functions. Mapping it to an on/off switch would maybe work.

It would probably need to be defined in the config file which type of switch one wants to use. Greetings Benjamin

Benje712 avatar Jul 01 '20 09:07 Benje712

Can we use the single/double, long press with HomeKit?

On Wed, 1 Jul 2020 at 10:11, Benje712 [email protected] wrote:

Thanks for your effort! Behavior works perfectly fine as expected. Is their a chance of also implementing a Toogle switch Typ? As of now it’s only possible to use the Shelly I3 with it set to momentary. Can only speak for myself but would love to use it to also replace toggle switches without using the multi click functions. Mapping it to an on/off switch would maybe work.

It would properly need to be defined in the config file which type one wants to use. Greetings Benjamin

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/alexryd/homebridge-shelly/issues/126#issuecomment-652297035, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD6K2VLUQLR354WCCLWI2BLRZL4UJANCNFSM4N3KTFOA .

--

Nuno Liça

themfinger avatar Jul 02 '20 10:07 themfinger

Can we use the single/double, long press with HomeKit?

On Wed, 1 Jul 2020 at 10:11, Benje712 [email protected] wrote:

Thanks for your effort! Behavior works perfectly fine as expected. Is their a chance of also implementing a Toogle switch Typ? As of now it’s only possible to use the Shelly I3 with it set to momentary. Can only speak for myself but would love to use it to also replace toggle switches without using the multi click functions. Mapping it to an on/off switch would maybe work.

It would properly need to be defined in the config file which type one wants to use. Greetings Benjamin

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/alexryd/homebridge-shelly/issues/126#issuecomment-652297035, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD6K2VLUQLR354WCCLWI2BLRZL4UJANCNFSM4N3KTFOA .

--

Nuno Liça

Single double and long press work fine in HomeKit image

Benje712 avatar Jul 02 '20 10:07 Benje712

Thanks for this great plugin.

I have installed v0.14.0-beta1 to get my new Shelly i3 working. It appears in Homekit as expected. But when i click on Input 2 (short, doublepress, longpress) the configured actions of Input 1 where triggered!?

Does anyone else have this Issue???

Thanks in advance for answers...

Sleepwalker771 avatar Jul 16 '20 19:07 Sleepwalker771

@Benje712 I'm planning on adding support for toggle switches for the i3 as well.

@Sleepwalker771 Are you still having this issue?

alexryd avatar Aug 17 '20 14:08 alexryd

@Benje712 I'm planning on adding support for toggle switches for the i3 as well.

@Sleepwalker771 Are you still having this issue?

@alexryd Still the same issue with V0.14.0 on my two I3 (Shellys on V1.7.0)

Sleepwalker771 avatar Aug 18 '20 06:08 Sleepwalker771

Ok, I'll see if I can reproduce this as soon as I find the time.

alexryd avatar Aug 19 '20 09:08 alexryd

Hey Alex

Thanks for the great job!

Button 1 is Working really fine with all 3 functions.

The problem, that also button 2/3 also activate the function of button 1 is there not any longer.

But with V0.15.3 there is no reaction by pressing button 2/3.

bikeeee avatar Sep 07 '20 19:09 bikeeee

This bug has now been fixed in version 0.15.4.

alexryd avatar Sep 08 '20 20:09 alexryd

Hi Alex!

Would love to see this feature too. I‘m trying to use the i3 with a button in HomeKit. First click should turn the light on, click again and the light should go off. But I can’t get it to work. Do you have any ideas how to realize something like that or isn’t it possible right now ?

Thank you !

Paddy03161 avatar Sep 30 '20 19:09 Paddy03161

@Benje712 I'm planning on adding support for toggle switches for the i3 as well.

Has toggle switch support been implemented for the i3? I can't seem to get anything but a button and no comments in the config options for this.

I'd be willing to help test if needed. Thanks!

edlucky1 avatar Jan 15 '21 03:01 edlucky1

hi, thank you for the great work. I am controlling a large number of shelly DUO spotlights using i3, and the toggle function would be amazing.

makramsg avatar Feb 05 '21 15:02 makramsg

Plus one for the toggle switch enhancement. I use several i3's as to monitor different alarms and they all work as toggle switches, i.e. like a relay that close on activation.

Nisse57 avatar Mar 15 '21 15:03 Nisse57

I have similar use cases for some of my i3s and would love to see toggle support.

mc-k avatar Apr 10 '21 21:04 mc-k

Any chance of seeing toggle switch support in the future?

Nisse57 avatar Apr 26 '23 08:04 Nisse57

Hi, I have them with toggle switches, could this be the reason that I see the the 3 buttons, all data in Homebrigde but nothing happens when switching AND also I do not see anything in the Homekit app transferred after adding?

gjanos89 avatar Jan 10 '24 14:01 gjanos89