Giter Club home page Giter Club logo

Comments (8)

thechris1992 avatar thechris1992 commented on June 14, 2024

It’s a generall Problem. Turning on works but turning off not

-> Dimitar Dimitrov CoAp changes is for all devices

from homebridge-shelly.

MaurizioB84 avatar MaurizioB84 commented on June 14, 2024

I have the same issue with shelly 2.5 for roller shutter after the upgrading of the firmware. I resolve after a new calibration on that devices.... I don't know if it's possible also on shelly bulb...

from homebridge-shelly.

thechris1992 avatar thechris1992 commented on June 14, 2024

:D
The shutters are fine after calibration.

There is a Bug in the Shelly 1.5.1 FW...

and i don't know why but i can only do one action. @shelly1/plug/rbw/bulb.
After that i can only move the shutters.
@alexryd

from homebridge-shelly.

thechris1992 avatar thechris1992 commented on June 14, 2024

Shelly1 with 1.5.1 FW:

pi@homepi:~ $ homebridge-shelly describe 192.168.2.22
Type: SHSW-1
CoAP description: "{"blk":[{"I":0,"D":"Relay0"}{"I":118,"T":"S","D":"Input","R":"0/1/2","L":1},],"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"}]}]}"
CoAP status: {"G":[[0,112,0],[0,118,0]]}
(...)
-> 1.5.1 the , between } and { is missing.
But is this the reason for complete stop working?

and with 1.4.6 GFW:

pi@homepi:~ $ homebridge-shelly describe 192.168.2.20
Type: SHSW-1
CoAP 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"}]}]}
CoAP status: {"G":[[0,112,1]]}
(...)

from homebridge-shelly.

alexryd avatar alexryd commented on June 14, 2024

I'm aware of the invalid JSON bug in 1.5.1 but I can't reproduce this issue. What's in your homebridge log when you try to switch a device off?

from homebridge-shelly.

thechris1992 avatar thechris1992 commented on June 14, 2024

nothing when i turn on or off shelly but in the debug i see that:

superagent GET 192.168.2.20/settings -> 200 +2s
HAP Warning: Characteristic 00000053-0000-1000-8000-0026BB765291 not in required or optional characteristics for service 0000003E-0000-1000-8000-0026BB765291. Adding anyway.

[8/21/2019, 6:50:47 AM] [homebridge-shelly.Shelly] Device SHSW-1 2C02C0 came online
[8/21/2019, 6:50:47 AM] [homebridge-shelly.Shelly] Loading settings for device SHSW-1 2C02C0
Accessory Reachability update is no longer being supported. +9ms
superagent GET 192.168.2.20/settings +9ms

############# the most error in debug mode ###########
CoAP Server no cached entry found, emit request to upper layer
############# the most error in debug mode ###########

HAPServer [CC:22:3D:E3:CE:30] HAP Request: GET /accessories +2ms
EventedHTTPServer [::ffff:192.168.2.19] HTTP Response is finished +15ms
EventedHTTPServer [::ffff:192.168.2.19] HTTP connection was closed +9ms
EventedHTTPServer [::ffff:192.168.2.19] HTTP server was closed +3ms
EventedHTTPServer [::ffff:192.168.2.19] Client connection closed +3ms

-> .19 is my pi

i already updatet

  • npm: 6.11.0
  • node: 10.16.0
  • homebridge: 0.4.50

OS:
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 10 (buster)
Release: 10
Codename: buster

and reinstall the shelly plugin

Other user have the same Problem, other Plugins but also coap...
Try to tun some shelly on and then off after 2 seconds or so on. the problem is that the coap state doesn't change this quick. But can you cache the state? so without waiting for coap

from homebridge-shelly.

thechris1992 avatar thechris1992 commented on June 14, 2024

The State don’t changes immediately

-> same with a fresh installed pi

from homebridge-shelly.

thechris1992 avatar thechris1992 commented on June 14, 2024

Done. My FritzBox says bye...

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.