Giter Club home page Giter Club logo

Comments (21)

alexryd avatar alexryd commented on June 6, 2024 1

It’s a bug and it will be fixed in the next firmware update. So I guess the humidity will have to be wrong until then.

from homebridge-shelly.

alexryd avatar alexryd commented on June 6, 2024 1

Yes it may take a while before they all show up.
Sensors are always grey in the Home app. They don’t have an active state.

from homebridge-shelly.

alexryd avatar alexryd commented on June 6, 2024

Yes, there is, but I don’t own an H&T myself so I can’t test it. Would you like to help out?

from homebridge-shelly.

aje89 avatar aje89 commented on June 6, 2024

from homebridge-shelly.

alexryd avatar alexryd commented on June 6, 2024

Ok great. I’ll let you know when I have something to test.

from homebridge-shelly.

alexryd avatar alexryd commented on June 6, 2024

Hey @aje89, could you install shellies ($ npm install -g shellies) then run $ shellies listen and paste any messages about unknown devices here? You may need to keep it running for a while since the Shelly H&T doesn't report its status very often.

from homebridge-shelly.

aje89 avatar aje89 commented on June 6, 2024

from homebridge-shelly.

alexryd avatar alexryd commented on June 6, 2024

Ah, sorry. I published a new version that should fix that. If you install the latest version ($ npm install -g shellies) and then try $ shellies listen again it should work.

from homebridge-shelly.

aje89 avatar aje89 commented on June 6, 2024

from homebridge-shelly.

alexryd avatar alexryd commented on June 6, 2024

Perfect! If you now install the development branch of shellies by running $ npm install -g alexryd/node-shellies#shelly-ht and then $ shellies listen again it should recognise the H&T and report any time the temperature or humidity changes.

from homebridge-shelly.

aje89 avatar aje89 commented on June 6, 2024

sudo npm install -g alexryd/node-shellies#shelly-ht
npm ERR! code 128
npm ERR! Command failed: /usr/bin/git clone --depth=1 -q -b shelly-ht git://github.com/alexryd/node-shellies.git /root/.npm/_cacache/tmp/git-clone-24f7418a
npm ERR! fatal: could not create leading directories of '/root/.npm/_cacache/tmp/git-clone-24f7418a': Permission denied
npm ERR!

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2019-02-06T07_24_17_698Z-debug.log

Output of the Debug Log File:

0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node',
1 verbose cli '/usr/local/bin/npm',
1 verbose cli 'install',
1 verbose cli '-g',
1 verbose cli 'alexryd/node-shellies#shelly-ht' ]
2 info using [email protected]
3 info using [email protected]
4 verbose npm-session 777a6ff25e431cc9
5 silly install loadCurrentTree
6 silly install readGlobalPackageData
7 silly fetchPackageMetaData error for github:alexryd/node-shellies#shelly-ht Command failed: /usr/bin/git clone --depth=1 -q -b shelly-ht git://github.com/alexryd/node-shellies.git /root/.npm/_cacache/tmp/git-clone-24f7418a
7 silly fetchPackageMetaData fatal: could not create leading directories of '/root/.npm/_cacache/tmp/git-clone-24f7418a': Permission denied
8 timing stage:rollbackFailedOptional Completed in 24ms
9 timing stage:runTopLevelLifecycles Completed in 4492ms
10 verbose stack Error: Command failed: /usr/bin/git clone --depth=1 -q -b shelly-ht git://github.com/alexryd/node-shellies.git /root/.npm/_cacache/tmp/git-clone-24f7418a
10 verbose stack fatal: could not create leading directories of '/root/.npm/_cacache/tmp/git-clone-24f7418a': Permission denied
10 verbose stack
10 verbose stack at ChildProcess.exithandler (child_process.js:294:12)
10 verbose stack at ChildProcess.emit (events.js:182:13)
10 verbose stack at maybeClose (internal/child_process.js:962:16)
10 verbose stack at Socket.stream.socket.on (internal/child_process.js:381:11)
10 verbose stack at Socket.emit (events.js:182:13)
10 verbose stack at Pipe._handle.close (net.js:610:12)
11 verbose cwd /home/pi
12 verbose Linux 4.14.79+
13 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "alexryd/node-shellies#shelly-ht"
14 verbose node v10.15.0
15 verbose npm v6.4.1
16 error code 128
17 error Command failed: /usr/bin/git clone --depth=1 -q -b shelly-ht git://github.com/alexryd/node-shellies.git /root/.npm/_cacache/tmp/git-clone-24f7418a
17 error fatal: could not create leading directories of '/root/.npm/_cacache/tmp/git-clone-24f7418a': Permission denied
18 verbose exit [ 1, true ]

from homebridge-shelly.

alexryd avatar alexryd commented on June 6, 2024

Seems like some issue with permissions. Try running ‘sudo -s’ before installing the package.

from homebridge-shelly.

aje89 avatar aje89 commented on June 6, 2024

Generrally it works, but humidty is not ok.

[Device discovered] 2019-02-06T08:24:53.202Z
Type: SHHT-1 ID: 22C339 Host: 192.168.178.72
Property: temperature Value: 17.2 OK
Property: humidity Value: 15.5 ### NOK - actuall Humidty 73%
Property: battery Value: 90 OK

from homebridge-shelly.

alexryd avatar alexryd commented on June 6, 2024

That’s strange. Seems like a bug... I’ve emailed Allterco about it, let’s see what they have to say.

from homebridge-shelly.

alexryd avatar alexryd commented on June 6, 2024

You can now install the development branch of this plugin using $ npm install -g alexryd/homebridge-shelly#shelly-ht and hopefully you'll see you H&T in the Home app.

from homebridge-shelly.

aje89 avatar aje89 commented on June 6, 2024

from homebridge-shelly.

alexryd avatar alexryd commented on June 6, 2024

@aje89 Has the bug with the incorrect humidity value been fixed in the last firmware update?

from homebridge-shelly.

aje89 avatar aje89 commented on June 6, 2024

No still wrong values.

from homebridge-shelly.

alexryd avatar alexryd commented on June 6, 2024

Ok, hopefully they'll fix that in the next release then...

I'm going to merge this development branch now since everything else seems to be working.

from homebridge-shelly.

alexryd avatar alexryd commented on June 6, 2024

Support for the Shelly H&T is now live, so I'm closing this issue.

from homebridge-shelly.

d0nY90 avatar d0nY90 commented on June 6, 2024

Hi !

first: thank you for that great Shelly plug-in !

I wonder about the temperature in Home from the H&T. Does it only display the temperature in 0.5 degree steps ? In Shelly App the temperature is 20.8, in Home the temperature is displayed with 20.5 and when I ask Siri about the temperature she tells me it’s 21 degrees. Somethings weird here. Or did I do something wrong ?

thanks for an answer
Happy new year
Daniel

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.