a529987659852 / GuntamaticBiostar

7 stars 2 forks source link

Hinzufügen eines Devices #4

Closed RichardGHopf closed 2 weeks ago

RichardGHopf commented 6 months ago

Ich habe dein Repository mittels HACS in mein HA frontend integriert. Leider scheitere ich beim Hinzufügen eines Devices: image Was muss hier angegeben werden? Vielen Dank, Richard.

a529987659852 commented 6 months ago

Hallo Richard, eigentlich sollte im ersten Feld "IP-Adresse" und im zweiten Feld "API-Key (Bereitgestellt von Guntamatic)" stehen. IP-Adresse ist denke ich selbsterklärend. Den API-Key erhälst du von Guntamatic, wenn du denen ein Formular schickst. Musst du mal nach API-Key auf deren Website suchen.

Viel Erfolg Andreas

RichardGHopf commented 6 months ago

Hallo Andreas,

ja vielen Dank für den Hinweis. Hab schon einen key und deine HA Integration in mein Frontend eingepflegt. Super Integration - Kompliment!!!

Dazu eine Frage: wie kann ich die Abfrageintervalle im Python Code anpassen? Wie du im Anhang siehst, sind manche Abfragen über 2h alt.

Cheers, Richard.

On Mon, Mar 18, 2024, 17:01 Andreas @.***> wrote:

Hallo Richard, eigentlich sollte im ersten Feld "IP-Adresse" und im zweiten Feld "API-Key (Bereitgestellt von Guntamatic)" stehen. IP-Adresse ist denke ich selbsterklärend. Den API-Key erhälst du von Guntamatic, wenn du denen ein Formular schickst. Musst du mal nach API-Key auf deren Website suchen.

Viel Erfolg Andreas

— Reply to this email directly, view it on GitHub https://github.com/a529987659852/GuntamaticBiostar/issues/4#issuecomment-2004320225, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUUM5H7LH3QO4OQ4BSRB53TYY4FU7AVCNFSM6AAAAABE3X5376VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBUGMZDAMRSGU . You are receiving this because you authored the thread.Message ID: @.***>

a529987659852 commented 6 months ago

Hi Richard, danke für das Lob!

Eigentlich sollte die API jede Minute abgefragt werden. Wenn es zu Netzwerkproblemen oder Verzögerungen kommt, solltest du das im Home Assistant Log sehen. Die Abfragezeit wird im Update-Coordinator gepflegt: https://github.com/a529987659852/GuntamaticBiostar/blob/8d28ff5843a2254adc578b59428736dfdf84e42d/custom_components/GuntamaticBiostar/__init__.py#L174

Am Di., 19. März 2024 um 15:28 Uhr schrieb Richard G. Hopf < @.***>:

Hallo Andreas,

ja vielen Dank für den Hinweis. Hab schon einen key und deine HA Integration in mein Frontend eingepflegt. Super Integration - Kompliment!!!

Dazu eine Frage: wie kann ich die Abfrageintervalle im Python Code anpassen? Wie du im Anhang siehst, sind manche Abfragen über 2h alt.

Cheers, Richard.

On Mon, Mar 18, 2024, 17:01 Andreas @.***> wrote:

Hallo Richard, eigentlich sollte im ersten Feld "IP-Adresse" und im zweiten Feld "API-Key (Bereitgestellt von Guntamatic)" stehen. IP-Adresse ist denke ich selbsterklärend. Den API-Key erhälst du von Guntamatic, wenn du denen ein Formular schickst. Musst du mal nach API-Key auf deren Website suchen.

Viel Erfolg Andreas

— Reply to this email directly, view it on GitHub < https://github.com/a529987659852/GuntamaticBiostar/issues/4#issuecomment-2004320225>,

or unsubscribe < https://github.com/notifications/unsubscribe-auth/AUUM5H7LH3QO4OQ4BSRB53TYY4FU7AVCNFSM6AAAAABE3X5376VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBUGMZDAMRSGU>

. You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/a529987659852/GuntamaticBiostar/issues/4#issuecomment-2007332141, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQTMJRBRB436QF6ZY4ZNQH3YZBDSFAVCNFSM6AAAAABE3X5376VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBXGMZTEMJUGE . You are receiving this because you commented.Message ID: @.***>

RichardGHopf commented 6 months ago

Hi Andreas,

ich sehe das Intervall mit minutes=1 definiert, aber warum updaten manche Sensoren zu unterschiedlichen Zeiten? 8 von 16 benutzten Parametern wurden seit 5h nicht upgedatet, dafür andere in 1, 5, oder 30min Abständen. Liegt das an den timeouts für die Abfragen? Du hast für die Updates ein 10s und für das Setzen ein 5s timeout gewählt. Denkst du es würde helfen, das update timeout von 10s zu erhöhen?

In den logs habe ich nur eine Warnung zur Integration gefunden - siehe Anhang.

Cheers, Richard.

On Tue, Mar 19, 2024, 16:57 Andreas @.***> wrote:

Hi Richard, danke für das Lob!

Eigentlich sollte die API jede Minute abgefragt werden. Wenn es zu Netzwerkproblemen oder Verzögerungen kommt, solltest du das im Home Assistant Log sehen. Die Abfragezeit wird im Update-Coordinator gepflegt:

https://github.com/a529987659852/GuntamaticBiostar/blob/8d28ff5843a2254adc578b59428736dfdf84e42d/custom_components/GuntamaticBiostar/__init__.py#L174

Am Di., 19. März 2024 um 15:28 Uhr schrieb Richard G. Hopf < @.***>:

Hallo Andreas,

ja vielen Dank für den Hinweis. Hab schon einen key und deine HA Integration in mein Frontend eingepflegt. Super Integration - Kompliment!!!

Dazu eine Frage: wie kann ich die Abfrageintervalle im Python Code anpassen? Wie du im Anhang siehst, sind manche Abfragen über 2h alt.

Cheers, Richard.

On Mon, Mar 18, 2024, 17:01 Andreas @.***> wrote:

Hallo Richard, eigentlich sollte im ersten Feld "IP-Adresse" und im zweiten Feld "API-Key (Bereitgestellt von Guntamatic)" stehen. IP-Adresse ist denke ich selbsterklärend. Den API-Key erhälst du von Guntamatic, wenn du denen ein Formular schickst. Musst du mal nach API-Key auf deren Website suchen.

Viel Erfolg Andreas

— Reply to this email directly, view it on GitHub <

https://github.com/a529987659852/GuntamaticBiostar/issues/4#issuecomment-2004320225>,

or unsubscribe <

https://github.com/notifications/unsubscribe-auth/AUUM5H7LH3QO4OQ4BSRB53TYY4FU7AVCNFSM6AAAAABE3X5376VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBUGMZDAMRSGU>

. You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub < https://github.com/a529987659852/GuntamaticBiostar/issues/4#issuecomment-2007332141>,

or unsubscribe < https://github.com/notifications/unsubscribe-auth/AQTMJRBRB436QF6ZY4ZNQH3YZBDSFAVCNFSM6AAAAABE3X5376VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBXGMZTEMJUGE>

. You are receiving this because you commented.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/a529987659852/GuntamaticBiostar/issues/4#issuecomment-2007561850, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUUM5HYROLKU7XE5ZPEGCP3YZBN47AVCNFSM6AAAAABE3X5376VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBXGU3DCOBVGA . You are receiving this because you authored the thread.Message ID: @.***>

a529987659852 commented 6 months ago

Das Updateintervall gilt für den Coordinator, der die Updates der ganzen Integration macht. Es läuft so, dass HA jede Minute die beiden APIs der Guntamatic abruft. Dann werden die Werte auf die verschiedenen Sensoren verteilt. Und im HA ist es so, dass nur bei einer Änderung des Sensorwerts ein neuer Datenpunkt geschrieben wird. Wenn sich also z.B. 6 h nichts ändert, ist dein Sensorwert eben 6 h alt. Du solltest bei Sensoren für z.B. Isttemperatur (z.B. Außentemperatur, Kesseltemperatur, Vorlauf-Ist-Temperatur) Änderungen im Minutenbereich sehen. Bei Sensoren, die Solltemperaturen (z.B. guntamaticbiostar_vorlauf_soll_1) oder das aktuelle Programm (z.B. guntamaticbiostar_programm, guntamaticbiostar_programm_hk1 usw.) anzeigen Änderungen im Stundenbereich oder sogar länger sehen.

Hoffe, dass das für dich als Erklärung passt!

RichardGHopf commented 6 months ago

Hallo Andreas vielen Dank für die Erklärung! ich hab mir schon gedacht, dass Parameter ohne Änderung auch nicht upgedatet werden. Nochmals Chapeau für die tolle Integration - Guntamatic sollte dir Geld dafür zahlen 👍 Cheers, Richard.

On Wed, Mar 20, 2024, 08:57 Andreas @.***> wrote:

Das Updateintervall gilt für den Coordinator, der die Updates der ganzen Integration macht. Es läuft so, dass HA jede Minute die beiden APIs der Guntamatic abruft. Dann werden die Werte auf die verschiedenen Sensoren verteilt. Und im HA ist es so, dass nur bei einer Änderung des Sensorwerts ein neuer Datenpunkt geschrieben wird. Wenn sich also z.B. 6 h nichts ändert, ist dein Sensorwert eben 6 h alt. Du solltest bei Sensoren für z.B. Isttemperatur (z.B. Außentemperatur, Kesseltemperatur, Vorlauf-Ist-Temperatur) Änderungen im Minutenbereich sehen. Bei Sensoren, die Solltemperaturen (z.B. guntamaticbiostar_vorlauf_soll_1) oder das aktuelle Programm (z.B. guntamaticbiostar_programm, guntamaticbiostar_programm_hk1 usw.) anzeigen Änderungen im Stundenbereich oder sogar länger sehen.

Hoffe, dass das für dich als Erklärung passt!

— Reply to this email directly, view it on GitHub https://github.com/a529987659852/GuntamaticBiostar/issues/4#issuecomment-2008978148, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUUM5H2BHW6G45G7A4IZOOLYZE6NJAVCNFSM6AAAAABE3X5376VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBYHE3TQMJUHA . You are receiving this because you authored the thread.Message ID: @.***>

a529987659852 commented 6 months ago

Danke dir! Guntamatic bräuchte generell mal ne Beratung, wie man saubere Schnittstellen aufsetzt, die man anständig abfragen kann :-) Aktuell lauft die Kommunikation über zwei Interfaces und du musst wissen, an welcher Stelle welche Daten kommen. Klingt so, als ob man Modbus einfach nach Außen freigegeben hat. Heutzutage läuft das etwas anders :-)

Am Mi., 20. März 2024 um 09:57 Uhr schrieb Richard G. Hopf < @.***>:

Hallo Andreas vielen Dank für die Erklärung! ich hab mir schon gedacht, dass Parameter ohne Änderung auch nicht upgedatet werden. Nochmals Chapeau für die tolle Integration - Guntamatic sollte dir Geld dafür zahlen 👍 Cheers, Richard.

On Wed, Mar 20, 2024, 08:57 Andreas @.***> wrote:

Das Updateintervall gilt für den Coordinator, der die Updates der ganzen Integration macht. Es läuft so, dass HA jede Minute die beiden APIs der Guntamatic abruft. Dann werden die Werte auf die verschiedenen Sensoren verteilt. Und im HA ist es so, dass nur bei einer Änderung des Sensorwerts ein neuer Datenpunkt geschrieben wird. Wenn sich also z.B. 6 h nichts ändert, ist dein Sensorwert eben 6 h alt. Du solltest bei Sensoren für z.B. Isttemperatur (z.B. Außentemperatur, Kesseltemperatur, Vorlauf-Ist-Temperatur) Änderungen im Minutenbereich sehen. Bei Sensoren, die Solltemperaturen (z.B. guntamaticbiostar_vorlauf_soll_1) oder das aktuelle Programm (z.B. guntamaticbiostar_programm, guntamaticbiostar_programm_hk1 usw.) anzeigen Änderungen im Stundenbereich oder sogar länger sehen.

Hoffe, dass das für dich als Erklärung passt!

— Reply to this email directly, view it on GitHub < https://github.com/a529987659852/GuntamaticBiostar/issues/4#issuecomment-2008978148>,

or unsubscribe < https://github.com/notifications/unsubscribe-auth/AUUM5H2BHW6G45G7A4IZOOLYZE6NJAVCNFSM6AAAAABE3X5376VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBYHE3TQMJUHA>

. You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/a529987659852/GuntamaticBiostar/issues/4#issuecomment-2009063268, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQTMJRG7D5WLRD53GLPM2ADYZFFN5AVCNFSM6AAAAABE3X5376VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBZGA3DGMRWHA . You are receiving this because you commented.Message ID: @.***>

Tek4Seth commented 5 months ago

Hi, where can i get the API Key ? thank you

RichardGHopf commented 5 months ago

from Guntamatic directly.

On Mon, Apr 15, 2024, 08:11 Tek4Seth @.***> wrote:

Hi, where can i get the API Key ? thank you

— Reply to this email directly, view it on GitHub https://github.com/a529987659852/GuntamaticBiostar/issues/4#issuecomment-2055496635, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUUM5HZBCI3XNX5XS2ZENC3Y5NVQTAVCNFSM6AAAAABE3X5376VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJVGQ4TMNRTGU . You are receiving this because you authored the thread.Message ID: @.***>

Tek4Seth commented 5 months ago

Hi, i try with the API from guntamic ; i can integrate the module but I have a lot of sensors but without any value What can be the problem? thank you

ELBengEL commented 5 months ago

Ich habe dein Repository mittels HACS in mein HA frontend integriert. Leider scheitere ich beim Hinzufügen eines Devices: image Was muss hier angegeben werden? Vielen Dank, Richard.

Hallo, kannst du mir sagen wie du es zum Laufen gebracht hast? GitHub Addon ist installiert, aber wenn ich versuche das ganze als Blaupause hinzuzufügen in HA, sagt er mir immer, dass die URL Falsch ist. Bin ich bei Blaupausen falsch?

Tek4Seth commented 5 months ago

Hallo, kannst du mir sagen wie du es zum Laufen gebracht hast? GitHub Addon ist installiert, aber wenn ich versuche das ganze als Blaupause hinzuzufügen in HA, sagt er mir immer, dass die URL Falsch ist. Bin ich bei Blaupausen falsch?

Which URL ? ; you need to add IP (local) and API key

ELBengEL commented 5 months ago

Hallo, kannst du mir sagen wie du es zum Laufen gebracht hast? GitHub Addon ist installiert, aber wenn ich versuche das ganze als Blaupause hinzuzufügen in HA, sagt er mir immer, dass die URL Falsch ist. Bin ich bei Blaupausen falsch?

Which URL ? ; you need to add IP (local) and API key

Sorry, did a mistake while writing...

I did the Integration, but how do i get to the screen where i have to insert the IP and the Key? What do i have to do?

grafik

Tek4Seth commented 5 months ago

Hallo, kannst du mir sagen wie du es zum Laufen gebracht hast? GitHub Addon ist installiert, aber wenn ich versuche das ganze als Blaupause hinzuzufügen in HA, sagt er mir immer, dass die URL Falsch ist. Bin ich bei Blaupausen falsch?

Which URL ? ; you need to add IP (local) and API key

Sorry, did a mistake while writing...

I did the Integration, but how do i get to the screen where i have to insert the IP and the Key? What do i have to do?

grafik

I don't see what view this is. I installed like this: 1-add the repo in hacs: custom repo (https://github.com/a529987659852/GuntamaticBiostar) 2-download the package 3-add the integration in HA (parameter -> integration) when you start the integration you can add the ip and the api key

RichardGHopf commented 5 months ago

goto integrations and choose Guntamatic.

On Mon, Apr 22, 2024, 14:02 ELBengEL @.***> wrote:

Hallo, kannst du mir sagen wie du es zum Laufen gebracht hast? GitHub Addon ist installiert, aber wenn ich versuche das ganze als Blaupause hinzuzufügen in HA, sagt er mir immer, dass die URL Falsch ist. Bin ich bei Blaupausen falsch?

Which URL ? ; you need to add IP (local) and API key

Sorry, did a mistake while writing...

I did the Integration, but how do i get to the screen where i have to insert the IP and the Key? What do i have to do?

grafik.png (view on web) https://github.com/a529987659852/GuntamaticBiostar/assets/167761960/61e36247-df75-439f-9e04-6dddc8f8acef

— Reply to this email directly, view it on GitHub https://github.com/a529987659852/GuntamaticBiostar/issues/4#issuecomment-2069218366, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUUM5H4ROPMHNDKROPFAEFDY6T35DAVCNFSM6AAAAABE3X5376VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRZGIYTQMZWGY . You are receiving this because you authored the thread.Message ID: @.***>

ELBengEL commented 5 months ago

Hallo, kannst du mir sagen wie du es zum Laufen gebracht hast? GitHub Addon ist installiert, aber wenn ich versuche das ganze als Blaupause hinzuzufügen in HA, sagt er mir immer, dass die URL Falsch ist. Bin ich bei Blaupausen falsch?

Which URL ? ; you need to add IP (local) and API key

Sorry, did a mistake while writing... I did the Integration, but how do i get to the screen where i have to insert the IP and the Key? What do i have to do? grafik

I don't see what view this is. I installed like this: 1-add the repo in hacs: custom repo (https://github.com/a529987659852/GuntamaticBiostar) 2-download the package 3-add the integration in HA (parameter -> integration) when you start the integration you can add the ip and the api key

I did it like this:

image

Done: image

But in integration, there ist no "Guntamatic".

image

Did i miss/forgot a step?

a529987659852 commented 5 months ago

This is the wrong way. It seems as if you added my repo to the github integration. You need to do what Tek4Seth explained: Add the repo to HACS and then add the integration.

ELBengEL commented 5 months ago

got it ... my mistakte was not doing it in HACS (didn´t have HACS before :) ) ... i did it in devices - integration

Thank you guys :)