Giter Site home page Giter Site logo

Comments (16)

fraankkr avatar fraankkr commented on June 15, 2024 1

ok, ich schau mal, ob ich ein Upgrade des DSS Servers vornehmen kann. Mal sehen, was dann passiert. Gruss und Danke für die Arbeit. Melde mich wieder ...

from digitalstrom-homeassistant.

Mat931 avatar Mat931 commented on June 15, 2024

Hi @fraankkr !

Are you using Home Assistant or digitalSTROM on your different devices? When switching lights with digitalSTROM it takes a while until Home Assistant sees the new state. This problem and a potential workaround I can try to fix it was discussed here: #10

How do you see that devices are not reachable? Are they just unavailable in Home Assistant or are there any errors in the log? My integration currently only checks the availability of a device once when it is loaded, that is maybe something I should fix. Does a reload of the integration make the device available again?

If you want to reload the integration or generate a debug log you can do that here.

Thanks!
Mat

from digitalstrom-homeassistant.

Mat931 avatar Mat931 commented on June 15, 2024

Hi @fraankkr

The second time you turn on the switch you get a "response timeout" error message from the dSS. This could mean that it's still busy processing the first request. Sending commands to the lamp over the power wires is really slow and there's not much we can do about it.
Maybe I can fix the issue with the switch bouncing back, I have to take a closer look why that happens.

Edit: All the error messages you see should also appear in the debug log. It would be helpful if you could leave the debug logger running for a while and send me the log file.

Thanks,
Mat

from digitalstrom-homeassistant.

fraankkr avatar fraankkr commented on June 15, 2024

Hi Mat, thanks for your answer and the promise to look further into the new development. I compared different integrations with digitalstrom over the last few months and years (openhab, iobroker and homeassistant) and found that the integration and responsivness with iobroker works best till now. I would actually like to stick with your solution, cause I find that the integration and ease of use is best with homeassistant. I would be perfect if you would work further on this topic. I send you some screenshots from the latest error messages and the log file for your bug fixing. In case you want to test somethinge with our installation we can try this. Thanks for your help, Frank

home-assistant_2024-02-29T06-03-46.755Z.log

from digitalstrom-homeassistant.

Mat931 avatar Mat931 commented on June 15, 2024

Thank you for the log! It looks like your dSS is overloaded and takes a lot of time to respond to Home Assistant. I'm not familiar with the difference between different dSS hardware but maybe replacing it with a new one would give you better performance.

from digitalstrom-homeassistant.

fraankkr avatar fraankkr commented on June 15, 2024

Hi, wäre ne Möglichkeit, allerdings gab es bei Openhab oder Iobroker mit der gleichen Installation weniger Probleme. Ist die Technik hier bzgl. der Anbindung komplett anders gelöst ?

from digitalstrom-homeassistant.

Mat931 avatar Mat931 commented on June 15, 2024

Bei Iobroker gibt es eine Queue (Warteschlange) für Anfragen an den Server, dass dieser weniger belastet wird. So etwas kann ich ja testweise in meine Integration einbauen, vielleicht ist das Problem damit schon gelöst.

from digitalstrom-homeassistant.

fraankkr avatar fraankkr commented on June 15, 2024

Ich betreibe eine relativ alte Installation mit DSM 12 und DSS 11-1 Server. Das hat bisher recht problemlos funktioniert, nimmt den Last für den Digitalstrom-Server durch die Anfragen seitens Home Assistant stark zu ? Könnte sein, dass dieser jetzt deutlich mehr belastet ist.

from digitalstrom-homeassistant.

Mat931 avatar Mat931 commented on June 15, 2024

Ja, die Last kann dadurch zunehmen. Momentan lasse ich Home Assistant das Aktualisieren der Sensoren übernehmen. Da kann es sein dass viele Sensoren gleichzeitig abgefragt werden.

from digitalstrom-homeassistant.

fraankkr avatar fraankkr commented on June 15, 2024

Hat es eigentlich einen Grund warum Szenen aus Digitalstrom Umgebungen nicht direkt aufgerufen werden können ? Kommt das noch vielleicht ?

Grüße

from digitalstrom-homeassistant.

Mat931 avatar Mat931 commented on June 15, 2024

Das kommt noch :)

from digitalstrom-homeassistant.

fraankkr avatar fraankkr commented on June 15, 2024

alles klar :-), so ist´s wenn man Vorfreude hat ....

from digitalstrom-homeassistant.

fraankkr avatar fraankkr commented on June 15, 2024

Wäre es eine Möglichkeit das Intervall der Abfrage für den user als Variable zu hinterlegen ? Wie dies z.B: in IOBroker der Fall ist ?

image

from digitalstrom-homeassistant.

Mat931 avatar Mat931 commented on June 15, 2024

@fraankkr Das wäre zwar möglich, würde aber das Problem dass alle Geräte manchmal gleichzeitig abgefragt werden nicht lösen.
Ich denke die Warteschlange ist hier die vielversprechendste Lösung. Dafür muss aber leider ein großer Teil der Integration neu geschrieben werden.

from digitalstrom-homeassistant.

Mat931 avatar Mat931 commented on June 15, 2024

Hi @fraankkr ,
ich habe in Version 0.0.9 die Anzahl der gleichzeitigen Anfragen auf 1 pro Plattform begrenzt. Damit sollte es jetzt hoffentlich weniger Timeout-Fehler geben. Übrigens können jetzt auch Bereichs-Szenen aufgerufen werden.
Grüße

from digitalstrom-homeassistant.

rvdgaag avatar rvdgaag commented on June 15, 2024

@Mat931 did you use the cached values of the dSS with the latest API ? This prevents the dSS from crashing caused by overloading the dSS-bus. I can share the API if you need it ! These cached values make it easy to poll the dSS frequently and with great performance, however the old end of life dSS11-1GB is not supported anymore by digitalstrom and the latest API, you need the dSS20 or dSS22.

from digitalstrom-homeassistant.

Related Issues (16)

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.