Giter Club home page Giter Club logo

Comments (30)

dezral avatar dezral commented on June 14, 2024 1

then it works again..

[4/25/2019, 10:41:43 PM] [Shelly] Power meter #0 on device SHSW-25 ******* changed to 63.774746
[4/25/2019, 10:41:43 PM] [Shelly] Power meter #1 on device SHSW-25 ******* changed to 24.33036
[4/25/2019, 10:41:45 PM] [Shelly] New device discovered: SHSW-25 ******* at 10.0.1.55
[4/25/2019, 10:41:45 PM] [Shelly] Loading settings for device SHSW-25 *******
[4/25/2019, 10:41:45 PM] [Shelly] New device discovered: SHSW-44 ******* at 10.0.1.38
[4/25/2019, 10:41:45 PM] [Shelly] Loading settings for device SHSW-44 *******

from homebridge-shelly.

dezral avatar dezral commented on June 14, 2024 1

I have no issue with my shelly2?

from homebridge-shelly.

bubez81 avatar bubez81 commented on June 14, 2024 1

same problem here No devices discovered
homebridge-shelly v0.16.0

from homebridge-shelly.

alexryd avatar alexryd commented on June 14, 2024

I’m not sure what would cause that. Could you try going back to version 0.7.0 of homebridge-shelly and see if any devices show up?

from homebridge-shelly.

thechris1992 avatar thechris1992 commented on June 14, 2024

I have the same. No new devices get discoverd. (2.5)

from homebridge-shelly.

alexryd avatar alexryd commented on June 14, 2024

Then I must’ve broken something in the new update. I’ll have a look at it tonight.

from homebridge-shelly.

zackdvd avatar zackdvd commented on June 14, 2024

I just installed my shelly 2.5 and installed your plugin and having now the same problem. Great timing :-)
Thank you, hope you find something in the code.

from homebridge-shelly.

alexryd avatar alexryd commented on June 14, 2024

I'm not able to reproduce this. No matter what I try my devices are always discovered, both on my Raspberry Pi and my Mac. What version of node are you running? Have you updated homebridge to the latest version? What do you have in your homebridge config?

from homebridge-shelly.

zackdvd avatar zackdvd commented on June 14, 2024

OK, i went back to 0.7.0 with
npm install [email protected]
but I must admit that my error still exists, "0 devices loaded from cache".
I will have a closer look at this first...

from homebridge-shelly.

dezral avatar dezral commented on June 14, 2024

Does it Discovery new devices ? Have you try’d a clean setup(empty .homebridge folder)

I have updated homebridge,node to newest stable version.

from homebridge-shelly.

EduardSarjadjuk avatar EduardSarjadjuk commented on June 14, 2024

Hello,
I have the same problem. With the version 0.8.1 no devices are found (clean install). With the version 0.7.0 the devices are found.

from homebridge-shelly.

EduardSarjadjuk avatar EduardSarjadjuk commented on June 14, 2024

Updating from 0.7.0 to 0.8.1 will show existing devices, but no new devices are found (example shelly 1PM).

from homebridge-shelly.

alexryd avatar alexryd commented on June 14, 2024

Clean install, node 11.14.0, homebridge 0.4.49, homebridge-shelly 0.8.1 is working just fine for me. New devices are discovered as they should. If your devices are discovered when running $ shellies listen but not when running homebridge then I don't know what is causing the problem. What Shelly devices do you have?

from homebridge-shelly.

dezral avatar dezral commented on June 14, 2024

im running
node 10.15.3
homebridge 0.4.49
shellies 0.10.0
[email protected]

as a user not root.. but i don't get any errors.. still nothing..

so you are running the developer version of node.. why is that?

from homebridge-shelly.

EduardSarjadjuk avatar EduardSarjadjuk commented on June 14, 2024

Im running
node 10.15.3
homebridge 0.4.49
[email protected]

I have the following shellies:
Shelly 1
Shelly 2
Shelly 1PM
The Shelly 1PM is new and I tried to involve it yesterday.
I've been using shellies 1 & 2 for a while now.
The Shellies 1 & 2 were found with the version 0.7.0 without problems, but in the Version 0.8.1 (Clean Install) the Shellies are not found.
When I update from 0.7.0 to 0.8.1 shellies 1 & 2 in version 0.8.1 are attached.
If I install the version 0.8.1 directly (Clean Install) no devices are found.
The Shelly 1PM is not found in the version 0.7.0 & 0.8.1.

Sorry, for my bad English !

from homebridge-shelly.

zackdvd avatar zackdvd commented on June 14, 2024

Hey,

$ shellies listen finds my shelly2.5 without problems.

Clean .homebridge/, attached my config.json.
Output is:

[27.4.2019, 16:17:15] Loading 1 platforms...
[27.4.2019, 16:17:15] [Shelly] Initializing Shelly platform...
[...]
[27.4.2019, 16:17:17] [Shelly] 0 devices loaded from cache
(node:2327) ExperimentalWarning: The http2 module is an experimental API.
[27.4.2019, 16:17:18] Homebridge is running on port 51826.

My versions:
node 8.11.1
homebridge 0.4.49
node-shellies 0.10.0
homebridge-shelly 0.8.1

{
    "bridge": {
        "name": "Haussteuerung",
        "username": "CC:22:xxxx",
        "port": 51826,
        "pin": "xxxxx"
    },


    "platforms": [
    {
	"platform": "Shelly",
	"name": "Shelly",
	"username": null,
	"password": null
    }
    ],
    "accessories": []
}

from homebridge-shelly.

HarryFX avatar HarryFX commented on June 14, 2024

Hey, this is also my problem, that no devices are found. I am on
Node 11.6.0
Homebridge 0.4.49
homebridge-shelly 0.8.1
Tried everything, but my only Shelly 1 device is not found, I receive the "0 devices loaded from cache" message as well ...

from homebridge-shelly.

alexryd avatar alexryd commented on June 14, 2024

I think I've found the problem! Try updating to version 0.8.2 and see if that helps.

from homebridge-shelly.

EduardSarjadjuk avatar EduardSarjadjuk commented on June 14, 2024

My Shelly 1 PM has now been found.
Thank you very much !

What I also noticed is that the consumption data (W) of the Shelly 1PM are not passed to Homekit.
Only 0W is displayed.
Is there a way to fix that?

from homebridge-shelly.

dezral avatar dezral commented on June 14, 2024

there they where ;-).. very good job alexryd and my sense works also with motion and all ;-)

from homebridge-shelly.

HarryFX avatar HarryFX commented on June 14, 2024

It works perfectly now!

Alex, thank you so so much for your help and your incredible work on this project.

Have a great evening
Harald

from homebridge-shelly.

alexryd avatar alexryd commented on June 14, 2024

Awesome!
So for testing purposes I had some lines of code that excluded all devices that didn't have a certain ID. I obviously didn't push these lines to GitHub but I accidentally published them to npm. And since I don't download this plugin from npm I had to scratch my head long and hard before I spotted that!

@EduardSarjadjuk Could you run the following and then post the result here?

$ npm install -g shellies
$ shellies description <ip-address>
$ shellies status <ip-address>

Where <ip-address> is the IP of your Shelly PM.

from homebridge-shelly.

EduardSarjadjuk avatar EduardSarjadjuk commented on June 14, 2024

Thanks for your help !!!

Here is the result:
/homebridge # shellies description 192.168.1.64
Type: SHSW-PM ID: B1D5FF Host: 192.168.1.64
Description: {"blk":[{"I":0,"D":"Relay0"}],"sen":[{"I":112,"T":"Switch","R":"0/1","L":0}],"act":[{"I":211,
"D":"Switch","L":0,"P":[{"I":2011,"D":"ToState","R":"0/1"}]}]}
/homebridge # shellies status 192.168.1.64
Type: SHSW-PM ID: B1D5FF Host: 192.168.1.64
Property: powerMeter0 Value: 0
Property: relay0 Value: false
Status: {"G":[[0,112,0]]}

from homebridge-shelly.

alexryd avatar alexryd commented on June 14, 2024

I see. Looks like it doesn't report its power consumption over CoAP, that's disappointing... Must be a bug in the Shelly firmware since other devices like the Shelly 2.5 do. I'll email the developers about it.

from homebridge-shelly.

EduardSarjadjuk avatar EduardSarjadjuk commented on June 14, 2024

Thank you !

from homebridge-shelly.

dezral avatar dezral commented on June 14, 2024

It Will come.. they know

from homebridge-shelly.

alexryd avatar alexryd commented on June 14, 2024

Ok great!

from homebridge-shelly.

zackdvd avatar zackdvd commented on June 14, 2024

Thank you very much, indeed not an easy "bug" to find...

Now I got:

[27.4.2019, 21:22:08] [Shelly] New device discovered: SHSW-25 73BFC1 at 192.168.10.150

Works perfect now out of the box. I really like your way of thinking to keep it simple.

Keep going!

from homebridge-shelly.

thechris1992 avatar thechris1992 commented on June 14, 2024

Since the first problems solved the 2.5er works Fine... but the Shelly 2 are not reachable. Or reports a false state.

from homebridge-shelly.

Ludelag avatar Ludelag commented on June 14, 2024

Dear @alexryd My Shellies are not listening any more. Could please help me. Thank you

Captura de pantalla 2020-11-28 a las 10 52 19

from homebridge-shelly.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.