Enphase error No Session-id - SOLVED

Moderator: leecollings

Post Reply
bldewit
Posts: 59
Joined: Tuesday 09 May 2017 23:31
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: NL
Contact:

Enphase error No Session-id - SOLVED

Post by bldewit »

Hi, I added the hardware and checked that i have access to the production.json page, all ok. In my log i keep getting the No Session_id error:
----
Zonnepanelen platdak: Invalid data received! (no session_id)
----

Also tried a reboot after allowing Basic-auth, no effect.

What could be wrong?

Verstuurd vanaf mijn SM-T590 met Tapatalk



Verstuurd vanaf mijn SM-T590 met Tapatalk

-‐----------------------------------------------------------
Running on rPi 3b (main) and rPi 2b (somfy), both RFLink
IthoRemote, Xiaomi Gateway, KAKU
bldewit
Posts: 59
Joined: Tuesday 09 May 2017 23:31
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: NL
Contact:

Re: Enphase error No Session-id - SOLVED

Post by bldewit »

Solved. This is the error message you get when you do not have a valid token entered in the corresponding user variable.

Verstuurd vanaf mijn SM-T590 met Tapatalk

-‐----------------------------------------------------------
Running on rPi 3b (main) and rPi 2b (somfy), both RFLink
IthoRemote, Xiaomi Gateway, KAKU
bldewit
Posts: 59
Joined: Tuesday 09 May 2017 23:31
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: NL
Contact:

Re: Enphase error No Session-id - NO LONGER SOLVED

Post by bldewit »

So, since several days i keep getting this error message again. Checked token id, is ok. Deleted the hardware and added it again, checked token id, was empty, added the correct value. Still the same error! I am at a loss here, help!
-‐----------------------------------------------------------
Running on rPi 3b (main) and rPi 2b (somfy), both RFLink
IthoRemote, Xiaomi Gateway, KAKU
User avatar
gizmocuz
Posts: 2350
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Enphase error No Session-id - SOLVED

Post by gizmocuz »

Strange as the user variable is updated by the Enphase hardware class when it is received when you entered a valid username/password
Are you a system owner? Not all tokes are lasting a year
Quality outlives Quantity!
bldewit
Posts: 59
Joined: Tuesday 09 May 2017 23:31
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: NL
Contact:

Re: Enphase error No Session-id - SOLVED

Post by bldewit »

User variable was not entered(/read) automatically. I am an owner, not an installer. I generated a new token, but it turned out to be the same as the old one. Removed hardware, added again, entered the token again, keep getting the same errors. So I thought maybe it skipped to another ip adress: Nope, still the same...
-‐----------------------------------------------------------
Running on rPi 3b (main) and rPi 2b (somfy), both RFLink
IthoRemote, Xiaomi Gateway, KAKU
bldewit
Posts: 59
Joined: Tuesday 09 May 2017 23:31
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: NL
Contact:

Re: Enphase error No Session-id - NO LONGER SOLVED

Post by bldewit »

It just struck me that there is an API key in the Enphase app and that this key is not being used in the Hardware settings....
-‐----------------------------------------------------------
Running on rPi 3b (main) and rPi 2b (somfy), both RFLink
IthoRemote, Xiaomi Gateway, KAKU
bldewit
Posts: 59
Joined: Tuesday 09 May 2017 23:31
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: NL
Contact:

Re: Enphase error No Session-id - SOLVED

Post by bldewit »

After some consideration I generated yet a new token today and entered it into the User variable. Now it is working again! Maybe, last time there were some characters left in the field when I pasted the new token? I don't know.

I assume that the User variable has to be the one with the same number as the hardware ID? (I have several User variables after some trial and error). Also, there is a _ex-variable too. What should be the value of that one?
-‐----------------------------------------------------------
Running on rPi 3b (main) and rPi 2b (somfy), both RFLink
IthoRemote, Xiaomi Gateway, KAKU
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest