DiedB / Homey-TeslaEnergy

GNU General Public License v3.0
1 stars 2 forks source link

Can't connect to Tesla Gateway 2 #6

Open petebitt99 opened 1 year ago

petebitt99 commented 1 year ago

I have installed the App on my Homey Pro 2023 but can't add the device. I enter the IP address and it then asks for my Tesla credentials. When I use the credentials I have set up for the Tesla monitoring App it gives an error Time out after 30000 secs. Should I be using different credentials? Do I need to use the Gateway password?

alechenne commented 1 year ago

The procedure seems to me good. I used in the Homey app the same username and pwd (user level and not installator) I use to log in when I access the powerwall gateway via a web url (https://192.168.1.XXX). In my case, I've 2 IP addresses (LAN + wifi), may be check and try the other one (ping it to be sure).

petebitt99 commented 1 year ago

Alex,

Thanks. I can’t ping it. I think I know what the issue is. The address of the gateway is 192.168.91.xxx and my home network is on 192.168.0.xxx so I won’t be able to see it on my network.

I have got onto Tesla support to get them to change it to 192.168.0.xxx. They had to kick that up to next level support so it will be interesting to see their response.

When you had it installed did you have to ask Tesla to set the IP Address to 192.168.1.xxx?

Peter

On 9 May 2023, at 4:15 pm, Alex @.***> wrote:

The procedure seems to me good. I used in the Homey app the same username and pwd (user level and not installator) I use to log in when I access the powerwall gateway via a web url (https://192.168.1.XXX https://192.168.1.xxx/). In my case, I've 2 IP addresses (LAN + wifi), may be check and try the other one (ping it to be sure).

— Reply to this email directly, view it on GitHub https://github.com/DiedB/Homey-TeslaEnergy/issues/6#issuecomment-1539131799, or unsubscribe https://github.com/notifications/unsubscribe-auth/A7VEVGMX46L6JNDV7MSTNRTXFHOGVANCNFSM6AAAAAAXYQC5KI. You are receiving this because you authored the thread.

alechenne commented 1 year ago

Alex, Thanks. I can’t ping it. I think I know what the issue is. The address of the gateway is 192.168.91.xxx and my home network is on 192.168.0.xxx so I won’t be able to see it on my network. I have got onto Tesla support to get them to change it to 192.168.0.xxx. They had to kick that up to next level support so it will be interesting to see their response. When you had it installed did you have to ask Tesla to set the IP Address to 192.168.1.xxx? Peter On 9 May 2023, at 4:15 pm, Alex @.***> wrote: The procedure seems to me good. I used in the Homey app the same username and pwd (user level and not installator) I use to log in when I access the powerwall gateway via a web url (https://192.168.1.XXX https://192.168.1.xxx/). In my case, I've 2 IP addresses (LAN + wifi), may be check and try the other one (ping it to be sure). — Reply to this email directly, view it on GitHub <#6 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/A7VEVGMX46L6JNDV7MSTNRTXFHOGVANCNFSM6AAAAAAXYQC5KI. You are receiving this because you authored the thread.

Hello Peter,

If you connect your computer and the Tesla Gateway on the same switch, then change your computer IP address for one in range of your gateway (192.168.91.XXX), you'll be able to open the web page of your gateway (https://192.168.91.XXX). Then you could set the wifi + LAN to DHCP mode and in that case, your gateway will take an IP address in your home range.

I did the setup myself and noone of Tesla or installator has set up anthing in my Tesla gateway. See the following screenshots (sorry it's in french). In my case, I leave the IP as static.

image

image

Please let me know.

Kind regards

petebitt99 commented 1 year ago

OK,

So I have logged in. I found out that the password is only the last 5 characters of the password written on the Gateway.

I can see that you can change the IP Address for the ethernet but not the WiFi. Do you have an ethernet cable connected or does changing the Ethernet IP address have the effect of changing the Gateway IP Address? Then if I do that problem solved.

Peter

On 15 May 2023, at 1:14 am, Alex @.***> wrote:

Alex, Thanks. I can’t ping it. I think I know what the issue is. The address of the gateway is 192.168.91.xxx and my home network is on 192.168.0.xxx so I won’t be able to see it on my network. I have got onto Tesla support to get them to change it to 192.168.0.xxx. They had to kick that up to next level support so it will be interesting to see their response. When you had it installed did you have to ask Tesla to set the IP Address to 192.168.1.xxx? Peter … <x-msg://38/#> On 9 May 2023, at 4:15 pm, Alex @.***> wrote: The procedure seems to me good. I used in the Homey app the same username and pwd (user level and not installator) I use to log in when I access the powerwall gateway via a web url (https://192.168.1.XXX https://192.168.1.xxx/ https://192.168.1.xxx/). In my case, I've 2 IP addresses (LAN + wifi), may be check and try the other one (ping it to be sure). — Reply to this email directly, view it on GitHub <#6 (comment) https://github.com/DiedB/Homey-TeslaEnergy/issues/6#issuecomment-1539131799>, or unsubscribe https://github.com/notifications/unsubscribe-auth/A7VEVGMX46L6JNDV7MSTNRTXFHOGVANCNFSM6AAAAAAXYQC5KI. You are receiving this because you authored the thread.

Hello Peter,

If you connect your computer and the Tesla Gateway on the same switch, then change your computer IP address for one in range of your gateway (192.168.91.XXX), you'll be able to open the web page of your gateway (https://192.168.91.XXX https://192.168.91.xxx/). Then you could set the wifi + LAN to DHCP mode and in that case, your gateway will take an IP address in your home range.

I did the setup myself and noone of Tesla or installator has set up anthing in my Tesla gateway. See the following screenshots (sorry it's in french). In my case, I leave the IP as static.

https://user-images.githubusercontent.com/73405322/238194408-d57cccc6-2559-473b-bce6-c5e92a868b12.png https://user-images.githubusercontent.com/73405322/238194489-72b38b08-242c-41fc-8917-75f349995e10.png Please let me know.

Kind regards

— Reply to this email directly, view it on GitHub https://github.com/DiedB/Homey-TeslaEnergy/issues/6#issuecomment-1546922361, or unsubscribe https://github.com/notifications/unsubscribe-auth/A7VEVGPKEN6IIPK3ZG2JIXDXGDZFVANCNFSM6AAAAAAXYQC5KI. You are receiving this because you authored the thread.

petebitt99 commented 1 year ago

Also it looks like my modem has allocated an IPV6 address 2001:8003:dc2a:9800:2a0f:ebff:fe92:d06 to the MAC address of the Gateway, which the Tesla App certainly doesn’t like. Not sure how I get around this.

On 15 May 2023, at 1:14 am, Alex @.***> wrote:

Alex, Thanks. I can’t ping it. I think I know what the issue is. The address of the gateway is 192.168.91.xxx and my home network is on 192.168.0.xxx so I won’t be able to see it on my network. I have got onto Tesla support to get them to change it to 192.168.0.xxx. They had to kick that up to next level support so it will be interesting to see their response. When you had it installed did you have to ask Tesla to set the IP Address to 192.168.1.xxx? Peter … <x-msg://39/#> On 9 May 2023, at 4:15 pm, Alex @.***> wrote: The procedure seems to me good. I used in the Homey app the same username and pwd (user level and not installator) I use to log in when I access the powerwall gateway via a web url (https://192.168.1.XXX https://192.168.1.xxx/ https://192.168.1.xxx/). In my case, I've 2 IP addresses (LAN + wifi), may be check and try the other one (ping it to be sure). — Reply to this email directly, view it on GitHub <#6 (comment) https://github.com/DiedB/Homey-TeslaEnergy/issues/6#issuecomment-1539131799>, or unsubscribe https://github.com/notifications/unsubscribe-auth/A7VEVGMX46L6JNDV7MSTNRTXFHOGVANCNFSM6AAAAAAXYQC5KI. You are receiving this because you authored the thread.

Hello Peter,

If you connect your computer and the Tesla Gateway on the same switch, then change your computer IP address for one in range of your gateway (192.168.91.XXX), you'll be able to open the web page of your gateway (https://192.168.91.XXX https://192.168.91.xxx/). Then you could set the wifi + LAN to DHCP mode and in that case, your gateway will take an IP address in your home range.

I did the setup myself and noone of Tesla or installator has set up anthing in my Tesla gateway. See the following screenshots (sorry it's in french). In my case, I leave the IP as static.

https://user-images.githubusercontent.com/73405322/238194408-d57cccc6-2559-473b-bce6-c5e92a868b12.png https://user-images.githubusercontent.com/73405322/238194489-72b38b08-242c-41fc-8917-75f349995e10.png Please let me know.

Kind regards

— Reply to this email directly, view it on GitHub https://github.com/DiedB/Homey-TeslaEnergy/issues/6#issuecomment-1546922361, or unsubscribe https://github.com/notifications/unsubscribe-auth/A7VEVGPKEN6IIPK3ZG2JIXDXGDZFVANCNFSM6AAAAAAXYQC5KI. You are receiving this because you authored the thread.

petebitt99 commented 1 year ago

Ok, I have been able to login and add my Tesla Gateway 2 device but when I hit the "Continue" button I get "Empty 'data' property". Can you advise what is causing this? I have Homey Pro Early 2023 running 10.0.0-rc.105. The Tesla App is v1.1.14

petebitt99 commented 1 year ago

Alex,

Are you still around? Have you heard from Diederik at all re your issue?

Peter

On 16 May 2023, at 1:16 pm, Peter Bittner @.***> wrote:

OK,

So I have logged in. I found out that the password is only the last 5 characters of the password written on the Gateway.

I can see that you can change the IP Address for the ethernet but not the WiFi. Do you have an ethernet cable connected or does changing the Ethernet IP address have the effect of changing the Gateway IP Address? Then if I do that problem solved.

Peter

On 15 May 2023, at 1:14 am, Alex @.***> wrote:

Alex, Thanks. I can’t ping it. I think I know what the issue is. The address of the gateway is 192.168.91.xxx and my home network is on 192.168.0.xxx so I won’t be able to see it on my network. I have got onto Tesla support to get them to change it to 192.168.0.xxx. They had to kick that up to next level support so it will be interesting to see their response. When you had it installed did you have to ask Tesla to set the IP Address to 192.168.1.xxx? Peter … <x-msg://38/#> On 9 May 2023, at 4:15 pm, Alex @.***> wrote: The procedure seems to me good. I used in the Homey app the same username and pwd (user level and not installator) I use to log in when I access the powerwall gateway via a web url (https://192.168.1.XXX https://192.168.1.xxx/ https://192.168.1.xxx/). In my case, I've 2 IP addresses (LAN + wifi), may be check and try the other one (ping it to be sure). — Reply to this email directly, view it on GitHub <#6 (comment) https://github.com/DiedB/Homey-TeslaEnergy/issues/6#issuecomment-1539131799>, or unsubscribe https://github.com/notifications/unsubscribe-auth/A7VEVGMX46L6JNDV7MSTNRTXFHOGVANCNFSM6AAAAAAXYQC5KI. You are receiving this because you authored the thread.

Hello Peter,

If you connect your computer and the Tesla Gateway on the same switch, then change your computer IP address for one in range of your gateway (192.168.91.XXX), you'll be able to open the web page of your gateway (https://192.168.91.XXX https://192.168.91.xxx/). Then you could set the wifi + LAN to DHCP mode and in that case, your gateway will take an IP address in your home range.

I did the setup myself and noone of Tesla or installator has set up anthing in my Tesla gateway. See the following screenshots (sorry it's in french). In my case, I leave the IP as static.

https://user-images.githubusercontent.com/73405322/238194408-d57cccc6-2559-473b-bce6-c5e92a868b12.png https://user-images.githubusercontent.com/73405322/238194489-72b38b08-242c-41fc-8917-75f349995e10.png Please let me know.

Kind regards

— Reply to this email directly, view it on GitHub https://github.com/DiedB/Homey-TeslaEnergy/issues/6#issuecomment-1546922361, or unsubscribe https://github.com/notifications/unsubscribe-auth/A7VEVGPKEN6IIPK3ZG2JIXDXGDZFVANCNFSM6AAAAAAXYQC5KI. You are receiving this because you authored the thread.

DiedB commented 1 year ago

Can you try visiting https://[tesla_gateway_ip]/api/meters/aggregates? Does it give anything back?

petebitt99 commented 1 year ago

Diederik,

I get this message. I guess I need to call Tesla Support, or can I change myself?

{"code":403,"error":"Unable to GET to resource","message":"User does not have adequate access rights”}

Peter

On 23 May 2023, at 6:18 pm, Diederik Bakker @.***> wrote:

Can you try visiting https://[tesla_gateway_ip]/api/meters/aggregates? Does it give anything back?

— Reply to this email directly, view it on GitHub https://github.com/DiedB/Homey-TeslaEnergy/issues/6#issuecomment-1558766409, or unsubscribe https://github.com/notifications/unsubscribe-auth/A7VEVGI3PLDYJDBF5V3J73LXHRXDXANCNFSM6AAAAAAXYQC5KI. You are receiving this because you authored the thread.

petebitt99 commented 1 year ago

I also need to work out how to make the IP Address for this device static as the IP Address keeps changing.

Peter

On 24 May 2023, at 11:14 am, Peter Bittner @.***> wrote:

Diederik,

I get this message. I guess I need to call Tesla Support, or can I change myself?

{"code":403,"error":"Unable to GET to resource","message":"User does not have adequate access rights”}

Peter

On 23 May 2023, at 6:18 pm, Diederik Bakker @.***> wrote:

Can you try visiting https://[tesla_gateway_ip]/api/meters/aggregates? Does it give anything back?

— Reply to this email directly, view it on GitHub https://github.com/DiedB/Homey-TeslaEnergy/issues/6#issuecomment-1558766409, or unsubscribe https://github.com/notifications/unsubscribe-auth/A7VEVGI3PLDYJDBF5V3J73LXHRXDXANCNFSM6AAAAAAXYQC5KI. You are receiving this because you authored the thread.

alechenne commented 1 year ago

Alex, Are you still around? Have you heard from Diederik at all re your issue? Peter On 16 May 2023, at 1:16 pm, Peter Bittner @.> wrote: OK, So I have logged in. I found out that the password is only the last 5 characters of the password written on the Gateway. I can see that you can change the IP Address for the ethernet but not the WiFi. Do you have an ethernet cable connected or does changing the Ethernet IP address have the effect of changing the Gateway IP Address? Then if I do that problem solved. Peter > On 15 May 2023, at 1:14 am, Alex @.> wrote: > > > Alex, Thanks. I can’t ping it. I think I know what the issue is. The address of the gateway is 192.168.91.xxx and my home network is on 192.168.0.xxx so I won’t be able to see it on my network. I have got onto Tesla support to get them to change it to 192.168.0.xxx. They had to kick that up to next level support so it will be interesting to see their response. When you had it installed did you have to ask Tesla to set the IP Address to 192.168.1.xxx? Peter > … <x-msg://38/#> > On 9 May 2023, at 4:15 pm, Alex @.***> wrote: The procedure seems to me good. I used in the Homey app the same username and pwd (user level and not installator) I use to log in when I access the powerwall gateway via a web url (https://192.168.1.XXX https://192.168.1.xxx/ https://192.168.1.xxx/). In my case, I've 2 IP addresses (LAN + wifi), may be check and try the other one (ping it to be sure). — Reply to this email directly, view it on GitHub <#6 (comment) <#6 (comment)>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/A7VEVGMX46L6JNDV7MSTNRTXFHOGVANCNFSM6AAAAAAXYQC5KI. You are receiving this because you authored the thread. > > Hello Peter, > > If you connect your computer and the Tesla Gateway on the same switch, then change your computer IP address for one in range of your gateway (192.168.91.XXX), you'll be able to open the web page of your gateway (https://192.168.91.XXX https://192.168.91.xxx/). Then you could set the wifi + LAN to DHCP mode and in that case, your gateway will take an IP address in your home range. > > I did the setup myself and noone of Tesla or installator has set up anthing in my Tesla gateway. See the following screenshots (sorry it's in french). In my case, I leave the IP as static. > > https://user-images.githubusercontent.com/73405322/238194408-d57cccc6-2559-473b-bce6-c5e92a868b12.png > https://user-images.githubusercontent.com/73405322/238194489-72b38b08-242c-41fc-8917-75f349995e10.png > Please let me know. > > Kind regards > > — > Reply to this email directly, view it on GitHub <#6 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/A7VEVGPKEN6IIPK3ZG2JIXDXGDZFVANCNFSM6AAAAAAXYQC5KI. > You are receiving this because you authored the thread. >

Dear Peter,

Sorry for the delay of my reply, I was totaly busy with my job. Regarding the last email you sent to Diederik, it seems that the problem seems to focus on access right. If I'm not wrong, You've 2 levels (at least): installator and customer. Ad I've done the setup of my 3 powerwalls, I have access to both. But everything I did regarding accessing the powerwall over the code, I use always the customer access. That's why I don't understand what could the source of your problem. May be Diederi have another ideas. Have you try to find similar problem via Google for other system than Homey (like Home Assistant, ...)?

Please let me informed. In the mean time if I think to sometinhg that could help, I'll contact you.

Kind regards

petebitt99 commented 1 year ago

Diederik,

Do you have any further advice for me based on the error I got back.

{"code":403,"error":"Unable to GET to resource","message":"User does not have adequate access rights"}

Regards, Peter

On 23 May 2023, at 6:18 pm, Diederik Bakker @.***> wrote:

Can you try visiting https://[tesla_gateway_ip]/api/meters/aggregates? Does it give anything back?

— Reply to this email directly, view it on GitHub https://github.com/DiedB/Homey-TeslaEnergy/issues/6#issuecomment-1558766409, or unsubscribe https://github.com/notifications/unsubscribe-auth/A7VEVGI3PLDYJDBF5V3J73LXHRXDXANCNFSM6AAAAAAXYQC5KI. You are receiving this because you authored the thread.

petebitt99 commented 1 year ago

Diederik,Would appreciate some advice.  I have been in contact with Tesla support but they seem unable, or unwilling, to help.Peter0419852304On 2 Jun 2023, at 4:38 pm, Peter Bittner @.> wrote:Diederik,Do you have any further advice for me based on the error I got back.{"code":403,"error":"Unable to GET to resource","message":"User does not have adequate access rights"}Regards,PeterOn 23 May 2023, at 6:18 pm, Diederik Bakker @.> wrote:Can you try visiting https://[tesla_gateway_ip]/api/meters/aggregates? Does it give anything back?—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

DiedB commented 1 year ago

@petebitt99 Are you able to log in to the Tesla Energy Gateway through your browser?

petebitt99 commented 1 year ago

Yes I can, as a customer. I use my email address plus the last 5 characters of the password printed on the gateway.

On 10 Jun 2023, at 11:29 pm, Diederik Bakker @.***> wrote:

@petebitt99 https://github.com/petebitt99 Are you able to log in to the Tesla Energy Gateway through your browser?

— Reply to this email directly, view it on GitHub https://github.com/DiedB/Homey-TeslaEnergy/issues/6#issuecomment-1585667013, or unsubscribe https://github.com/notifications/unsubscribe-auth/A7VEVGKFRNEIR5PIXNWZKUTXKRZE5ANCNFSM6AAAAAAXYQC5KI. You are receiving this because you were mentioned.

alessioc01 commented 1 year ago

Any news about my problem?

I can login by Brower, and after login I can see data on https://[tesla_gateway_ip]/api/meters/aggregates

{"site":{"last_communication_time":"2023-06-27T21:04:08.176375267+02:00","instant_power":0,"instant_reactive_power":-589,"instant_apparent_power":589,"frequency":0,"energy_exported":10840805.670999952,"energy_imported":862600.4948430518,"instant_average_voltage":397.28049373207335,"instant_average_current":6.2575,"i_a_current":0,"i_b_current":0,"i_c_current":0,"last_phase_voltage_communication_time":"0001-01-01T00:00:00Z","last_phase_power_communication_time":"0001-01-01T00:00:00Z","last_phase_energy_communication_time":"0001-01-01T00:00:00Z","timeout":1500000000,"num_meters_aggregated":1,"instant_total_current":6.2575},"battery":{"last_communication_time":"2023-06-27T21:04:08.175062457+02:00","instant_power":490,"instant_reactive_power":-10,"instant_apparent_power":490.10203019371386,"frequency":49.936,"energy_exported":2178910,"energy_imported":2774200,"instant_average_voltage":229.53333333333336,"instant_average_current":-15.2,"i_a_current":0,"i_b_current":0,"i_c_current":0,"last_phase_voltage_communication_time":"0001-01-01T00:00:00Z","last_phase_power_communication_time":"0001-01-01T00:00:00Z","last_phase_energy_communication_time":"0001-01-01T00:00:00Z","timeout":1500000000,"num_meters_aggregated":3,"instant_total_current":-15.2},"load":{"last_communication_time":"2023-06-27T21:04:08.154379348+02:00","instant_power":505.75,"instant_reactive_power":-556,"instant_apparent_power":751.6109781662319,"frequency":0,"energy_exported":0,"energy_imported":5531676.056025908,"instant_average_voltage":397.28049373207335,"instant_average_current":1.2730300328842188,"i_a_current":0,"i_b_current":0,"i_c_current":0,"last_phase_voltage_communication_time":"0001-01-01T00:00:00Z","last_phase_power_communication_time":"0001-01-01T00:00:00Z","last_phase_energy_communication_time":"0001-01-01T00:00:00Z","timeout":1500000000,"instant_total_current":1.2730300328842188},"solar":{"last_communication_time":"2023-06-27T21:04:08.154379348+02:00","instant_power":-13,"instant_reactive_power":29,"instant_apparent_power":31.78049716414141,"frequency":0,"energy_exported":16127734.267860731,"energy_imported":22563.0356779231,"instant_average_voltage":397.18811768900304,"instant_average_current":0.184,"i_a_current":0,"i_b_current":0,"i_c_current":0,"last_phase_voltage_communication_time":"0001-01-01T00:00:00Z","last_phase_power_communication_time":"0001-01-01T00:00:00Z","last_phase_energy_communication_time":"0001-01-01T00:00:00Z","timeout":1500000000,"num_meters_aggregated":1,"instant_total_current":0.184}}

Add->Tesla->ID e Pass-> I see and I Select Gateway -> Connect and i reiceve an error... "Empty 'data' property" :-(

DiedB commented 1 year ago

Could you install https://homey.app/a/com.tesla.energy/test/ and let me know if it solves the issue?

alessioc01 commented 1 year ago

I can't go further... I insert the ip and connect but nothing happens...

image

DiedB commented 1 year ago

Another attempt... Let me know if it works now (it should)!

alechenne commented 1 year ago

Hi Diederik,

Thanks for your quick feedback and support. Now it’s working, the fields are updated periodically.

Please let me know if you need help or tests from my side.

Kind regards

Le mar. 4 juil. 2023 à 21:46, Diederik Bakker @.***> a écrit :

Another attempt... Let me know if it works now (it should)!

— Reply to this email directly, view it on GitHub https://github.com/DiedB/Homey-TeslaEnergy/issues/6#issuecomment-1620658672, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARQBHCTZRHDHNS62PFWFKULXORXJ3ANCNFSM6AAAAAAXYQC5KI . You are receiving this because you commented.Message ID: @.***>

-- --- Sent from Gmail Mobile --- Léchenne Alexandre Les Pâquerettes 16 CH-2608 Courtelary Mobile: +41 79 307 40 25 Email: @.***

DiedB commented 1 year ago

@alechenne If you would be able to, I need a screen recording of the pairing process, the device overview (with stats) and the app settings screen to get the app approved and verified with Athom. I don't have a Powerwall I can access currently. Would be great!

If you are able to, you can share it with me through slower_04_machete@icloud.com.

alechenne commented 1 year ago

Sure. You’ll find all the screenshots here enclosed.

Le mar. 4 juil. 2023 à 22:24, Diederik Bakker @.***> a écrit :

@alechenne https://github.com/alechenne If you would be able to, I need a screen recording of the pairing process, the device overview (with stats) and the app settings screen to get the app approved and verified with Athom. I don't have a Powerwall I can access currently. Would be great!

If you are able to, you can share it with me through @.***

— Reply to this email directly, view it on GitHub https://github.com/DiedB/Homey-TeslaEnergy/issues/6#issuecomment-1620705237, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARQBHCRUPJOUX7H654FWIQLXOR3X7ANCNFSM6AAAAAAXYQC5KI . You are receiving this because you were mentioned.Message ID: @.***>

-- --- Sent from Gmail Mobile --- Léchenne Alexandre Les Pâquerettes 16 CH-2608 Courtelary Mobile: +41 79 307 40 25 Email: @.***

DiedB commented 1 year ago

Thanks a bunch!

alechenne commented 1 year ago

You're welcome. Thank you to you too.

Alexandre Léchenne Les Pâquerettes 16 CH-2608 Courtelary (Switzerland)

Mobile: +41 79 307 40 25 Email: @.***

Le mar. 4 juil. 2023 à 23:32, Diederik Bakker @.***> a écrit :

Thanks a bunch!

— Reply to this email directly, view it on GitHub https://github.com/DiedB/Homey-TeslaEnergy/issues/6#issuecomment-1620768610, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARQBHCVCQHI74J4WR4VNETDXOSDXRANCNFSM6AAAAAAXYQC5KI . You are receiving this because you were mentioned.Message ID: @.***>

petebitt99 commented 1 year ago

Fantastic, it worked for me as well. Thanks so much. I will make a donation for your efforts.

All I need to do now is make my IP Address static. Although I connect to the gateway via WiFi if I log in to the gateway and set the ethernet connection as static should that work for my wifi connection as well?

Peter

On 5 Jul 2023, at 7:33 am, Alex @.***> wrote:

You're welcome. Thank you to you too.

Alexandre Léchenne Les Pâquerettes 16 CH-2608 Courtelary (Switzerland)

Mobile: +41 79 307 40 25 Email: @.***

Le mar. 4 juil. 2023 à 23:32, Diederik Bakker @.***> a écrit :

Thanks a bunch!

— Reply to this email directly, view it on GitHub https://github.com/DiedB/Homey-TeslaEnergy/issues/6#issuecomment-1620768610, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARQBHCVCQHI74J4WR4VNETDXOSDXRANCNFSM6AAAAAAXYQC5KI . You are receiving this because you were mentioned.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/DiedB/Homey-TeslaEnergy/issues/6#issuecomment-1620769644, or unsubscribe https://github.com/notifications/unsubscribe-auth/A7VEVGML4AOUPXDCCAJ5Z3TXOSD4HANCNFSM6AAAAAAXYQC5KI. You are receiving this because you were mentioned.

petebitt99 commented 1 year ago

Diederik,

It’s OK, I have worked out how to set the IP Address as static in my Modem.

I just looked on the Homey App site and couldn’t see a Donate button for you. How can I donate to your cause? Or anything else I can do to support you.

I see that there are 3 flow cards available, and it looks like you can only invoke then with the “When” clause. I do see however when I use that that there seems to be a number of useful Tags available. How do you use the Tags? Any example flow would be really helpful. What I would like to do is to turn on my car charger once my battery is 100% and the solar being generated is greater than the energy consumption of my home.

Thanks again, Peter

On 5 Jul 2023, at 7:33 am, Alex @.***> wrote:

You're welcome. Thank you to you too.

Alexandre Léchenne Les Pâquerettes 16 CH-2608 Courtelary (Switzerland)

Mobile: +41 79 307 40 25 Email: @.***

Le mar. 4 juil. 2023 à 23:32, Diederik Bakker @.***> a écrit :

Thanks a bunch!

— Reply to this email directly, view it on GitHub https://github.com/DiedB/Homey-TeslaEnergy/issues/6#issuecomment-1620768610, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARQBHCVCQHI74J4WR4VNETDXOSDXRANCNFSM6AAAAAAXYQC5KI . You are receiving this because you were mentioned.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/DiedB/Homey-TeslaEnergy/issues/6#issuecomment-1620769644, or unsubscribe https://github.com/notifications/unsubscribe-auth/A7VEVGML4AOUPXDCCAJ5Z3TXOSD4HANCNFSM6AAAAAAXYQC5KI. You are receiving this because you were mentioned.

DiedB commented 1 year ago

@petebitt99 I think donation links are hidden for 'verified' apps. I've added them to the main page of this GitHub repository, you can find them in the right sidebar. Much appreciated!

I hoped that Athom would auto-generate flow cards for custom capabilities, but it still doesn't seem to be the case. I've implemented some custom flow cards, could you check whether they work in the latest test version? You should find several more 'when' or trigger cards that have a token you can use in other parts of the flow. I cannot test it myself currently.

petebitt99 commented 1 year ago

Thanks. Will do some tests and get back to you.Peter0419852304On 5 Jul 2023, at 8:42 pm, Diederik Bakker @.***> wrote: @petebitt99 I think donation links are hidden for 'verified' apps. I've added them to the main page of this GitHub repository, you can find them in the right sidebar. Much appreciated! I hoped that Athom would auto-generate flow cards for custom capabilities, but it still doesn't seem to be the case. I've implemented some custom flow cards, could you check whether they work in the latest test version? You should find several more 'when' or trigger cards that have a token you can use in other parts of the flow. I cannot test it myself currently.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

alessioc01 commented 1 year ago

Works! Do you still need the sceenshots and a video of the addition to have the app verified by Athom? I tried the flow card, but I could only understand the function of the battery greater or less of %

alechenne commented 1 year ago

Hi Diederik,

I go in holidays today. If you want I can do some tests for the flows when I come back from holidays in 2 weeks.

Kind regards.

PS last version 1.3.1 seems working good. Thanks

Le mer. 5 juil. 2023 à 19:45, petebitt99 @.***> a écrit :

Thanks. Will do some tests and get back to you.Peter0419852304On 5 Jul 2023, at 8:42 pm, Diederik Bakker @.***> wrote: @petebitt99 I think donation links are hidden for 'verified' apps. I've added them to the main page of this GitHub repository, you can find them in the right sidebar. Much appreciated! I hoped that Athom would auto-generate flow cards for custom capabilities, but it still doesn't seem to be the case. I've implemented some custom flow cards, could you check whether they work in the latest test version? You should find several more 'when' or trigger cards that have a token you can use in other parts of the flow. I cannot test it myself currently.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/DiedB/Homey-TeslaEnergy/issues/6#issuecomment-1622209608, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARQBHCXMGJUYIIGAWUPTXJTXOWR27ANCNFSM6AAAAAAXYQC5KI . You are receiving this because you were mentioned.Message ID: @.***>

-- --- Sent from Gmail Mobile --- Léchenne Alexandre Les Pâquerettes 16 CH-2608 Courtelary Mobile: +41 79 307 40 25 Email: @.***

petebitt99 commented 1 year ago

Diederik,

I tested this one today and it worked well. 

I will try some more this weekend and now that we have 1.3.1 I will try the new flow cards as well.

A quick question, with the cards where some parameter has changed or been updated is there a tolerance in your software as to the size of the change before the card is triggered? These parameters fluctuate almost continuously and (I think) it would be useful if in the settings you could specify that tolerance. e.g. if it by more than 100w. Not sure if this is possible though.

Peter

On 7 Jul 2023, at 4:54 am, Alex @.***> wrote:

Hi Diederik,

I go in holidays today. If you want I can do some tests for the flows when I come back from holidays in 2 weeks.

Kind regards.

PS last version 1.3.1 seems working good. Thanks

Le mer. 5 juil. 2023 à 19:45, petebitt99 @.***> a écrit :

Thanks. Will do some tests and get back to you.Peter0419852304On 5 Jul 2023, at 8:42 pm, Diederik Bakker @.***> wrote: @petebitt99 I think donation links are hidden for 'verified' apps. I've added them to the main page of this GitHub repository, you can find them in the right sidebar. Much appreciated! I hoped that Athom would auto-generate flow cards for custom capabilities, but it still doesn't seem to be the case. I've implemented some custom flow cards, could you check whether they work in the latest test version? You should find several more 'when' or trigger cards that have a token you can use in other parts of the flow. I cannot test it myself currently.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/DiedB/Homey-TeslaEnergy/issues/6#issuecomment-1622209608, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARQBHCXMGJUYIIGAWUPTXJTXOWR27ANCNFSM6AAAAAAXYQC5KI . You are receiving this because you were mentioned.Message ID: @.***>

-- --- Sent from Gmail Mobile --- Léchenne Alexandre Les Pâquerettes 16 CH-2608 Courtelary Mobile: +41 79 307 40 25 Email: @.*** — Reply to this email directly, view it on GitHub https://github.com/DiedB/Homey-TeslaEnergy/issues/6#issuecomment-1624166123, or unsubscribe https://github.com/notifications/unsubscribe-auth/A7VEVGOAO67HPWLPJIFQC7TXO4CYBANCNFSM6AAAAAAXYQC5KI. You are receiving this because you were mentioned.

DiedB commented 1 year ago

@petebitt99 The cards are mostly auto-generated by Homey. I could implement this in the app, but it would make the app way more complex, while I think this is stuff that should just be part of Homey's flow engine.

What exactly are you trying to automate? Maybe I can think along.

petebitt99 commented 1 year ago

It’s OK. It was just a thought.

At the moment I am just turning my car charger on during the day when my battery is full, and then I turn it off once the battery level drops tp 95% as when this happens then my solar production is less than my home consumption. This is easily done with this flow. The messages aren’t necessary, it’s just part of my testing and getting to understand the tags. 

I did do some testing using the “changed” and “updated” cards. This generates a lot of transactions as the Tesla values are constantly changing- roughly every 5 secs. Not enough to overload Homey, but you do need to be aware when developing flows.

Peter

On 8 Jul 2023, at 6:11 am, Diederik Bakker @.***> wrote:

@petebitt99 https://github.com/petebitt99 The cards are mostly auto-generated by Homey. I could implement this in the app, but it would make the app way more complex, while I think this is stuff that should just be part of Homey's flow engine.

What exactly are you trying to automate? Maybe I can think along.

— Reply to this email directly, view it on GitHub https://github.com/DiedB/Homey-TeslaEnergy/issues/6#issuecomment-1626015153, or unsubscribe https://github.com/notifications/unsubscribe-auth/A7VEVGJUZEX6PGTKQ6UQMA3XPBUP3ANCNFSM6AAAAAAXYQC5KI. You are receiving this because you were mentioned.

diapolon commented 1 year ago

@petebitt99 The cards are mostly auto-generated by Homey. I could implement this in the app, but it would make the app way more complex, while I think this is stuff that should just be part of Homey's flow engine.

What exactly are you trying to automate? Maybe I can think along.

Hi, they are some fluctuation on meter,you could return 0 if solar is negative o < of a value (make sense measure negative on solar?), same thinks on home consumaption. For grid its correct positive and negative but need to force to 0 if value is minor of a value (like tesla app) 😊