Enphase : Invalid data received! (no session_id)
Moderator: leecollings
-
- Posts: 7
- Joined: Thursday 30 May 2024 8:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2024.3
- Location: France
- Contact:
Enphase : Invalid data received! (no session_id)
Hello,
Some days ago, i've update Domoticz to the last version 2024.3.15869
This version won't work on my Raspberry, i've installed the compiled version from : https://iot.sajatfelhom.eu/domoticz/
After that, the connection with envoy was lost.
So i've create a new token from https://entrez.enphaseenergy.com/ and paste it on my local page.
After submit this token and update the hardware on domoticz, all work fine !
BUT, after 2 days the connection lost and the error Invalid data received! (no session_id) appear !!
i will generate a new token and update hardware every 2 days !
When i try to connect to this page : https://entrez.enphaseenergy.com/
i've an error : "message": "Too many active sessions.."
can you help me?
Best regards
Some days ago, i've update Domoticz to the last version 2024.3.15869
This version won't work on my Raspberry, i've installed the compiled version from : https://iot.sajatfelhom.eu/domoticz/
After that, the connection with envoy was lost.
So i've create a new token from https://entrez.enphaseenergy.com/ and paste it on my local page.
After submit this token and update the hardware on domoticz, all work fine !
BUT, after 2 days the connection lost and the error Invalid data received! (no session_id) appear !!
i will generate a new token and update hardware every 2 days !
When i try to connect to this page : https://entrez.enphaseenergy.com/
i've an error : "message": "Too many active sessions.."
can you help me?
Best regards
-
- Posts: 7
- Joined: Thursday 30 May 2024 8:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2024.3
- Location: France
- Contact:
Re: Enphase : Invalid data received! (no session_id)
The Envoy version is : software: D7.6.358
- gizmocuz
- Posts: 2352
- Joined: Thursday 11 July 2013 18:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Top of the world
- Contact:
Re: Enphase : Invalid data received! (no session_id)
It looks you are generating a token for 2 days. You can check this if you paste the JWT token here https://jwt.io/
Is there another application polling the Enphase? For example your energy provider or another Domoticz instance?
Also make sure the poll interval is set to 30 seconds or slower (60 seconds)
If you google for 'Enpahse too many active sessions' you will see more users with this problem
Also make sure you entered your correct SiteID
Is there another application polling the Enphase? For example your energy provider or another Domoticz instance?
Also make sure the poll interval is set to 30 seconds or slower (60 seconds)
If you google for 'Enpahse too many active sessions' you will see more users with this problem
Also make sure you entered your correct SiteID
Quality outlives Quantity!
-
- Posts: 7
- Joined: Thursday 30 May 2024 8:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2024.3
- Location: France
- Contact:
Re: Enphase : Invalid data received! (no session_id)
Hello,
Thanks for your reply.
When i'm decode the last token, i have :
"exp": 1748588215,
=> So exp 30/05/2025, for one year.
I've just the domoticz connected to the Envoy.
I haven't got any site ID, i'm not an installer.
Best regards
Thanks for your reply.
When i'm decode the last token, i have :
"exp": 1748588215,
=> So exp 30/05/2025, for one year.
I've just the domoticz connected to the Envoy.
I haven't got any site ID, i'm not an installer.
Best regards
-
- Posts: 7
- Joined: Thursday 30 May 2024 8:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2024.3
- Location: France
- Contact:
Re: Enphase : Invalid data received! (no session_id)
Another deconnection today.
I've put the same token on my Envoy form and update my hardware...
I've try to change poll interval to 60.
I'll check in 2 days...
is it possible to put the enphase hardware in debug mode ?
I've put the same token on my Envoy form and update my hardware...
I've try to change poll interval to 60.
I'll check in 2 days...
is it possible to put the enphase hardware in debug mode ?
-
- Posts: 7
- Joined: Thursday 30 May 2024 8:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2024.3
- Location: France
- Contact:
Re: Enphase : Invalid data received! (no session_id)
Hello,
i continue to check in my side and i use Postman to make some tests.
The problem come from https://enlighten.enphaseenergy.com/log ... rd]=MYPASS
The result of this page is : {"message":"Too many active sessions.."} and after that no session ID is return...
i've asking support from Enphase and i come back to you.
Best regards
i continue to check in my side and i use Postman to make some tests.
The problem come from https://enlighten.enphaseenergy.com/log ... rd]=MYPASS
The result of this page is : {"message":"Too many active sessions.."} and after that no session ID is return...
i've asking support from Enphase and i come back to you.
Best regards
-
- Posts: 14
- Joined: Thursday 16 May 2019 12:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Enphase : Invalid data received! (no session_id)
Since about a week I have a similar issue with my Domoticz connection with the Enphase controller. After some time Domoticz will not update values anymore and throw the error 'Invalid data received! (no session_id)'.
When I disable the Enphase hardware in Domoticz and start it again it will work for some time but after a while it will stop again with the same error.
Domoticz version: 2024.4
Enphase Envoy S Gateway Firmware : D7.6.358
Where you able to find any solution already?
When I disable the Enphase hardware in Domoticz and start it again it will work for some time but after a while it will stop again with the same error.
Domoticz version: 2024.4
Enphase Envoy S Gateway Firmware : D7.6.358
Where you able to find any solution already?
- gizmocuz
- Posts: 2352
- Joined: Thursday 11 July 2013 18:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Top of the world
- Contact:
Re: Enphase : Invalid data received! (no session_id)
Domoticz is the only one talking to the Enphase?
This error is displayed when it wants to retrieve the normal owner token (EnphaseAPI::GetOwnerToken) (not the installer token)
Since I am using Enphase myself without any issues, I wonder what goes wrong.
You have left the Poll Interval to 30 seconds in the hardware setup?
This error is displayed when it wants to retrieve the normal owner token (EnphaseAPI::GetOwnerToken) (not the installer token)
Since I am using Enphase myself without any issues, I wonder what goes wrong.
You have left the Poll Interval to 30 seconds in the hardware setup?
Quality outlives Quantity!
-
- Posts: 14
- Joined: Thursday 16 May 2019 12:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Enphase : Invalid data received! (no session_id)
Hi Gizmocuz,
thank you for your reply. Domoticz is the only system talking to Enphase. But the polling interval has been set to 10 seconds.
Let me try to set it back to 30 seconds and see if that makes a difference.
For me the communication worked since I got my solar panels last year, but after a wifi drop I am facing this issue. I am not sure if it coincidence or if the firmware of my Enphase has been updated at the same time. I noticed that fefed22 and I have the same firmware on our Enphase Envoy box.
Are you running the same firmware on your system ?
Regards,
Barry
thank you for your reply. Domoticz is the only system talking to Enphase. But the polling interval has been set to 10 seconds.
Let me try to set it back to 30 seconds and see if that makes a difference.
For me the communication worked since I got my solar panels last year, but after a wifi drop I am facing this issue. I am not sure if it coincidence or if the firmware of my Enphase has been updated at the same time. I noticed that fefed22 and I have the same firmware on our Enphase Envoy box.
Are you running the same firmware on your system ?
Regards,
Barry
-
- Posts: 14
- Joined: Thursday 16 May 2019 12:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Enphase : Invalid data received! (no session_id)
I just noticed when I re-start the Enphase hardware in Domoticz it throws also an error 'Error getting http data! (power)'. But it does this only the first time when it collects data.
-
- Posts: 14
- Joined: Thursday 16 May 2019 12:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Enphase : Invalid data received! (no session_id)
With changing the Poll Interval from 10 seconds to 30 seconds, the connection is still working after aprox. 48 hours
- gizmocuz
- Posts: 2352
- Joined: Thursday 11 July 2013 18:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Top of the world
- Contact:
Re: Enphase : Invalid data received! (no session_id)
I'm running 7.6.358
Great it seems to be working again,
Could be a wireless issue, I try to connect as much as possible with cables.
I have noticed bad communication issues when you poll to fast or if other applications try to access the envoy at the same time.
For this reason I home in a feature firmware update this is solved, specially if energy companies would like to have some control over the system.
Great it seems to be working again,
Could be a wireless issue, I try to connect as much as possible with cables.
I have noticed bad communication issues when you poll to fast or if other applications try to access the envoy at the same time.
For this reason I home in a feature firmware update this is solved, specially if energy companies would like to have some control over the system.
Quality outlives Quantity!
-
- Posts: 7
- Joined: Thursday 30 May 2024 8:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2024.3
- Location: France
- Contact:
Re: Enphase : Invalid data received! (no session_id)
Hello,
my issue is fixed after calling to enphase.
i've explain the problem and a ticket was opened.
So it's a security issue, when we use a third party to make remote call.
After Enphase ticket, they made a small change on my account to allow infinite call.
Domotictz still working since two days !!
Best regards
my issue is fixed after calling to enphase.
i've explain the problem and a ticket was opened.
So it's a security issue, when we use a third party to make remote call.
After Enphase ticket, they made a small change on my account to allow infinite call.
Domotictz still working since two days !!
Best regards
- gizmocuz
- Posts: 2352
- Joined: Thursday 11 July 2013 18:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Top of the world
- Contact:
Re: Enphase : Invalid data received! (no session_id)
@fefed22, and what is your poll interval set to? Probably also lower then 30 seconds?
For those who wants real-time data (~per second), it might be an idea to look at a 'Shelly EM', but do note that you have to power the device from the same phase as that you are placing the CT Clamp on!!
This means if you have a 3 phase Enphase system, you need 3 of those !
If you do not need real-time data, keep it at 30
For those who wants real-time data (~per second), it might be an idea to look at a 'Shelly EM', but do note that you have to power the device from the same phase as that you are placing the CT Clamp on!!
This means if you have a 3 phase Enphase system, you need 3 of those !
If you do not need real-time data, keep it at 30
Quality outlives Quantity!
-
- Posts: 7
- Joined: Thursday 30 May 2024 8:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2024.3
- Location: France
- Contact:
Re: Enphase : Invalid data received! (no session_id)
Hello,
Thanks for your reply.
I've set interval to 30 sec.
Thanks for the suggest of product : Shelly EM, no need to have a real time for the moment but i keep this information.
Best regards
Thanks for your reply.
I've set interval to 30 sec.
Thanks for the suggest of product : Shelly EM, no need to have a real time for the moment but i keep this information.
Best regards
Who is online
Users browsing this forum: No registered users and 1 guest