alexryd / homebridge-shelly-ng

Homebridge plugin for the next generation of Shelly devices
GNU General Public License v3.0
120 stars 43 forks source link

Shelly 1MINI not recognised by Shelly NG bridge #97

Open netanelassor opened 8 months ago

netanelassor commented 8 months ago

The Shelly app found it with no problem, I could Control relays but hoobs with Shelly NG bridge do not recognize it. It finds out the Shelly 2PM model, but not 1MINI. If I add it manually, i get [shely1mini-deviceid] unknown device of model "SNSW-001X8EU"

What could close the issue?

cubi1337 commented 8 months ago

I have the same problem as you. For this reason I created a new repository with the (hopefully) correct adjustments. I haven't tested it yet. Tomorrow afternoon I will build the npm Homebridge plugin of the same name.

https://github.com/cubi1337/homebridge-shelly-ds9

Kasper05 commented 8 months ago

I have the same problem as you. For this reason I created a new repository with the (hopefully) correct adjustments. I haven't tested it yet. Tomorrow afternoon I will build the npm Homebridge plugin of the same name.

https://github.com/cubi1337/homebridge-shelly-ds9

It is also possible to add the Shelly Plus Plug S (SNPL-00112EU)?

cubi1337 commented 8 months ago

I have the same problem as you. For this reason I created a new repository with the (hopefully) correct adjustments. I haven't tested it yet. Tomorrow afternoon I will build the npm Homebridge plugin of the same name. https://github.com/cubi1337/homebridge-shelly-ds9

It is also possible to add the Shelly Plus Plug S (SNPL-00112EU)?

Plug S -> https://github.com/alexryd/homebridge-shelly

ElPotato commented 8 months ago

Thank you cubi for building the new branch/fork. Sadly i can't get it to work. Before i used the Shelly NG Plugin for my Shelly Plus 2PM. The added Shelly Mini's didn't work. Know with Shelly9DS it won't even discover my Shelly Plus 2PM and in the console it still states: [ShellyDS9] [shelly1pmmini-6055f9a012e4] Unknown device of model "SNSW-001P8EU" discovered.

I installed Shelly9DS over the gui of Homebridge, didn't change anythin in the config file.

Kasper05 commented 8 months ago

I have the same problem as you. For this reason I created a new repository with the (hopefully) correct adjustments. I haven't tested it yet. Tomorrow afternoon I will build the npm Homebridge plugin of the same name. https://github.com/cubi1337/homebridge-shelly-ds9

It is also possible to add the Shelly Plus Plug S (SNPL-00112EU)?

Plug S -> https://github.com/alexryd/homebridge-shelly

that's old Plug S version. Not the Plus version

cubi1337 commented 8 months ago

I will check the problem on monday. Sorry - iam a backend developer ;-)

0Fusion commented 8 months ago

Same error for me, my Shelly Plus Plug S is not found by the HB-plugin. The Model Prefix is"shellyplusplugs-xxxxxxxxxxx" Log entry: Unknown device of model "SNPL-00112EU" discovered.

cubi1337 commented 8 months ago

i added the Plug Plus.

Check Version 0.9.9

it works for me...

StupkaRa commented 7 months ago

I have the same problem as you. For this reason I created a new repository with the (hopefully) correct adjustments. I haven't tested it yet. Tomorrow afternoon I will build the npm Homebridge plugin of the same name.

https://github.com/cubi1337/homebridge-shelly-ds9

Is it possible to also add suppport for Shelly Pro 4PM V2 please? If I add it manually, i get [shellypro4pm-c8f09e83bb80] Unknown device of model "SPSW-104PE16EU" discovered.

I am using this repo https://github.com/cubi1337/homebridge-shelly-ds9 but it is not working at the moment and I really don't know how to fix that. Thank you!

cubi1337 commented 7 months ago

Actually, I just wanted to make adjustments for myself. But that doesn't look like much effort. I'll make the adjustments for the next few days.

cubi1337 commented 7 months ago

check homebridge-shelly-ds9@1.0.16

StupkaRa commented 7 months ago

check homebridge-shelly-ds9@1.0.16

Great, It works! Thank you so much.

Do you think it is also possible to connect Shelly Pro 3EM? I found out there is something for old version (not PRO) https://github.com/produdegr/homebridge-3em-energy-meter

which delivers all the data to EVE app at least. But that would be completely OK because I can run automations also from there. Unfortunately, it does not work with a Pro model.

Can this be fixed too? Thx

cubi1337 commented 7 months ago

Hi, i think this is possible.

https://shelly-api-docs.shelly.cloud/gen2/Devices/ShellyPro3EM

But I would definitely need a few hours to build a prototype for it.

by the way… I have a wife, house, child, hobbies and a job. So I'll keep that in mind and see if I can do something with it. but definitely not this year.

StupkaRa commented 7 months ago

Yeah I understand. That is completely fine! Thanks.

Praktiker commented 7 months ago

hi, thanks for your support. my shelly1pmminig3 (Shelly 1PM mini) is not recognized. It only finds my Plusplugs. If you have more time, please add it to the supported devices. regards Praktiker.

cubi1337 commented 7 months ago

MQTT Enabled? what is the error message?

Praktiker commented 7 months ago
        Hi20.12.2023, 18:53:24Shelly Ds9 BridgeShelly NGWARNUNG[shelly1pmminig3-84fce63e6d40] Unknown device of model "S3SW-001P8EU" discovered.No MQTTGesendet mit der GMX iPhone AppAm 20.12.23 um 19:17 schrieb David S

                Von: "David S" ***@***.***>Datum: 20. Dezember 2023An: "alexryd/homebridge-shelly-ng" ***@***.***>Cc: "Comment" ***@***.***>,"Praktiker" ***@***.***>Betreff: Re: [alexryd/homebridge-shelly-ng] Shelly 1MINI not recognised by Shelly NG bridge (Issue #97)

MQTT Enabled? what is the error message?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

LukasHiereth commented 7 months ago

I have the same problem as you. For this reason I created a new repository with the (hopefully) correct adjustments. I haven't tested it yet. Tomorrow afternoon I will build the npm Homebridge plugin of the same name.

https://github.com/cubi1337/homebridge-shelly-ds9

I have tested your plugin and my Shelly Plus 1 MINI seems to work fine.

But I have found an issue, that messes up my whole setup. I have disabled mDNS discovery as I add my Shellys manually, but this setting does not work. All my Shelly devices will be discovered by DS9...

Can you please fix this issue?

cubi1337 commented 7 months ago

I have the same problem as you. For this reason I created a new repository with the (hopefully) correct adjustments. I haven't tested it yet. Tomorrow afternoon I will build the npm Homebridge plugin of the same name. https://github.com/cubi1337/homebridge-shelly-ds9

I have tested your plugin and my Shelly Plus 1 MINI seems to work fine.

But I have found an issue, that messes up my whole setup. I have disabled mDNS discovery as I add my Shellys manually, but this setting does not work. All my Shelly devices will be discovered by DS9...

Can you please fix this issue?

I use static IPs, it works for me...please activate mqtt and enter the Homebridge IP as the IP

cubi1337 commented 7 months ago

S3SW-001P8EU

Use Version 1.1.1 :-)

LukasHiereth commented 7 months ago

I have the same problem as you. For this reason I created a new repository with the (hopefully) correct adjustments. I haven't tested it yet. Tomorrow afternoon I will build the npm Homebridge plugin of the same name. https://github.com/cubi1337/homebridge-shelly-ds9

I have tested your plugin and my Shelly Plus 1 MINI seems to work fine. But I have found an issue, that messes up my whole setup. I have disabled mDNS discovery as I add my Shellys manually, but this setting does not work. All my Shelly devices will be discovered by DS9... Can you please fix this issue?

I use static IPs, it works for me...please activate mqtt and enter the Homebridge IP as the IP

I would have to go through over 70 shellys and enable mqtt to fix this. I thought the setting "disable mDNS" was meant to be able to add devices manually...?

Thx for your support!

Praktiker commented 7 months ago

Hi, thank you very much, my 1PM mini is now recognized. But another problem appears with 1.1.1. HOOBS does find it, but the Icon is wrong, should be a switch Bildschirmfoto 2023-12-22 um 15 15 16 but it is something else. When I manually add the mini to the plugin, than the correct button appears (after deleting them from the cache). Bildschirmfoto 2023-12-22 um 15 23 29 This is also true for shellyplusplugs, shelly plus2pm, shelly Pro 1, shelly Pro2pm which I have. Well the plus plugs do get the correct icon, but in the hoobs log they appear with their ID instead with their names: Bildschirmfoto 2023-12-22 um 15 27 56

regards Praktiker.

cubi1337 commented 7 months ago

Wir können auch einfach kurz in deutsch - ich verstehe das Problem nicht. Konfiguriere einfach wie du es brauchst. Woher soll die Logik wissen wofür der jeweilige shelly gedacht ist? Alex hat ja genau dafür die Konfiguration eingebaut. Auch beim Shelly 2pm muss man nun einmal die einzelnen Geräte noch einmal im Home umbenennen um alles schick zu haben. Das sind aber alles Probleme die schon immer gegeben waren. Ich erweitere den Plugin nur soweit, dass neue Geräte funktionieren. Großartiges Bugfixing oder Erweitern verkneife ich mir. Sobald die Shelly's Matter kompatibel sind ist der Plugin sowieso reif für die Tonne ;-)

StupkaRa commented 6 months ago

Hi, i think this is possible.

https://shelly-api-docs.shelly.cloud/gen2/Devices/ShellyPro3EM

But I would definitely need a few hours to build a prototype for it.

by the way… I have a wife, house, child, hobbies and a job. So I'll keep that in mind and see if I can do something with it. but definitely not this year.

Hello, please did you have time to look into this, please? Would be great. Thank you.

klausbreyer commented 5 months ago

@cubi1337 you mind adding Shelly 1PM Mini Gen3 as well - or should I fork your repository again? :)

{
    "name": null,
    "id": "shelly1pmminig3-",
    "mac": "",
    "slot": 1,
    "model": "S3SW-001P8EU",
    "gen": 3,
    "fw_id": "20231121-110955/1.1.99-minig3prod1-ga898543",
    "ver": "1.1.99-minig3prod1",
    "app": "Mini1PMG3",
    "auth_en": false,
    "auth_domain": null
}
klausbreyer commented 5 months ago

Oh, nevermind. I found out, that there is already support for it. https://github.com/klausbreyer/node-shellies-voy/blob/b3f4aad088d5a72a592193ab27e61f165351e287/src/devices/shelly-plus-1-pm.ts#L57

cubi1337 commented 5 months ago

:-) need something? btw - nice rep name ^^

klausbreyer commented 5 months ago

@cubi1337 thanks ;) I started to implement 1PM Mini Gen3 support but then discovered, that it is already there. :)