alexryd / node-shellies-ng

Handles communication with the next generation of Shelly devices
GNU General Public License v3.0
15 stars 33 forks source link

Added support for Shelly Plus 1 Mini #7

Open sw-koenig opened 1 year ago

sw-koenig commented 1 year ago

Shelly has released "mini" versions for some of their new generation products. They basically have the same functions as the normal ones, but using different model IDs.

sw-koenig commented 1 year ago

Change has been tested successfull in my local setup with the homebridge-shelly-ng plugin.

Aeraxon commented 1 year ago

Will that also work for the Shelly Plus 1 pm mini?

sw-koenig commented 1 year ago

Will that also work for the Shelly Plus 1 pm mini? No, this will only enable the Shelly Plus 1 mini.

For Plus 1 pm mini a different class would have to be changed, but it will be very similar to this change. We need to know the device ID of the Shelly Plus 1 pm mini. Than I can add support for it in this PR as well. Bests, Swen

Aeraxon commented 1 year ago

it says on my homebridge log this: [shelly1pmmini-xxxxxxxxxxxx] Unknown device of model "SNSW-001P8EU" discovered.

Is that the needed information?

I also have this one but as it has no relais for switching, I dont see the point of adding it. But maybe someone sees a benefit in it. It only measures power but does not switch. [shellypmmini-xxxxxxxxxxxx] Unknown device of model "SNPM-001PCEU16" discovered.

fabiovit commented 1 year ago

Hello, how can I edit in hoobs?

patpaat commented 1 year ago

Got the same issue.

I would really appreciate it, if you can add the SHELLY PLUS 1 PM Mini too. This is what the log says: [shelly1pmmini-xxxxxxxxxxxx] Unknown device of model "SNSW-001P8EU" discovered.

thank you so much!

sw-koenig commented 1 year ago

SHELLY PLUS 1 PM Mini is now also added.

patpaat commented 1 year ago

thank you @sw-koenig.

can you or anyone tell me, how to install this fork in homebridge?

homebridge is running on a raspberrypi using portainer.

jakubkasparek commented 1 year ago

+1 @sw-koenig can you please tell us how to install the fork?

fabiovit commented 1 year ago

@sw-koenig How can be add in hoobs?

sw-koenig commented 1 year ago

@sw-koenig How can be add in hoobs?

sorry, I don't know anything about hoobs

Aeraxon commented 1 year ago

Hey Swen, I am struggling on getting this to work. I am new to Github and Homebridge so I will explain what I did so that any mistakes can be discovered:

so I downloaded the other fork from you, that I found (or is it the same in a different state or so?)

I then tried to only copy "homebridge-shelly-ng-plus-1-1mini" with scp to "development" and without build command just link it. in that case it showed up in the ui under plugins but never discovered anything. I've confimed that my mini-pc is able to reach shelly by installing the normal shelly-ng plugin and that one discovered shellies. I am at the end of my ideas for today :-)

I am sorry, if these are noob-errors that I make. I'd be really happy to learn. I've already learned a lot about homebridge, hyper-v, linux and more during the past 4-5 weeks while I was trying to get this to work by myself.

could you explain what I have to download and what commands to run to make this work? And maybe, if you like explain a bit so that I am understanding why it wasn't working etc so that I am able to accomplish it next time by myself and help others if needed? But only if you have time and if you like to do so. :-)

Best Regards