Closed duckdany closed 3 years ago
+1
Adding this to each header section works for me:
"User-Agent": "G-RAC",
Arkadi
On 8/06/2021 13:09, ChrisFurlongSAG wrote:
+1
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/codyc1515/homebridge-panasonic-air-conditioner/issues/68#issuecomment-856670884, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABT22SHVHEPU7DZJSYYKOX3TRX277ANCNFSM46JC7LJA.
+1
Adding this to each header section works for me: "User-Agent": "G-RAC", Arkadi …
What is the header section
I have saved it like this but still no joy
{ "User-Agent": "G-RAC", "name": "Master bedroom", "debug": false, "email": "notemail", "password": "notpassword", "accessory": "PanasonicAirConditioner" }
Adding this to each header section works for me: "User-Agent": "G-RAC", Arkadi …
What is the header section
I have saved it like this but still no joy
{ "User-Agent": "G-RAC", "name": "Master bedroom", "debug": false, "email": "notemail", "password": "notpassword", "accessory": "PanasonicAirConditioner" }
same here, tried but not success
Hi
Sorry for the misunderstanding but you need to add it to each header section in the source file. On my homebridge it's on /usr/lib/node_modules/homebridge-panasonic-air-conditioner/index.js
For example at line 145:
headers: { "Accept": "application/json; charset=UTF-8", "Content-Type": "application/json", "User-Agent": "G-RAC", "X-APP-TYPE": 0, "X-APP-VERSION": this.version },
Best regards Arkadi Colson
On 9/06/2021 02:25, putthegundownkinkade wrote:
Adding this to each header section works for me: "User-Agent": "G-RAC", Arkadi … <#>
What is the header section
I have saved it like this but still no joy
{ "User-Agent": "G-RAC", "name": "Master bedroom", "debug": false, "email": "notemail", "password": "notpassword", "accessory": "PanasonicAirConditioner" }
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/codyc1515/homebridge-panasonic-air-conditioner/issues/68#issuecomment-857280604, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABT22SDDMBG57XCEEFTWGALTR2YGLANCNFSM46JC7LJA.
Ah. I’m using HOOBS so I can’t do that
Get Outlook for iOShttps://aka.ms/o0ukef
From: arkadicolson @.> Sent: Wednesday, June 9, 2021 4:47:01 PM To: codyc1515/homebridge-panasonic-air-conditioner @.> Cc: putthegundownkinkade @.>; Comment @.> Subject: Re: [codyc1515/homebridge-panasonic-air-conditioner] Failed to Login (#68)
Hi
Sorry for the misunderstanding but you need to add it to each header section in the source file. On my homebridge it's on /usr/lib/node_modules/homebridge-panasonic-air-conditioner/index.js
For example at line 145:
headers: {
"Accept": "application/json;
charset=UTF-8", "Content-Type": "application/json", "User-Agent": "G-RAC", "X-APP-TYPE": 0, "X-APP-VERSION": this.version },
Best regards Arkadi Colson
On 9/06/2021 02:25, putthegundownkinkade wrote:
Adding this to each header section works for me: "User-Agent": "G-RAC", Arkadi … <#>
What is the header section
I have saved it like this but still no joy
{ "User-Agent": "G-RAC", "name": "Master bedroom", "debug": false, "email": "notemail", "password": "notpassword", "accessory": "PanasonicAirConditioner" }
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/codyc1515/homebridge-panasonic-air-conditioner/issues/68#issuecomment-857280604, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABT22SDDMBG57XCEEFTWGALTR2YGLANCNFSM46JC7LJA.
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/codyc1515/homebridge-panasonic-air-conditioner/issues/68#issuecomment-857431067, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ASK5Q3JKHVLGINGWBO3U43TTR4E6LANCNFSM46JC7LJA.
Same issue, not working on hoobs :(
Hi Sorry for the misunderstanding but you need to add it to each header section in the source file. On my homebridge it's on /usr/lib/node_modules/homebridge-panasonic-air-conditioner/index.js For example at line 145: headers: { "Accept": "application/json; charset=UTF-8", "Content-Type": "application/json", "User-Agent": "G-RAC", "X-APP-TYPE": 0, "X-APP-VERSION": this.version }, Best regards Arkadi Colson … On 9/06/2021 02:25, putthegundownkinkade wrote: Adding this to each header section works for me: "User-Agent": "G-RAC", Arkadi … <#> What is the header section I have saved it like this but still no joy { "User-Agent": "G-RAC", "name": "Master bedroom", "debug": false, "email": "notemail", "password": "notpassword", "accessory": "PanasonicAirConditioner" } — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#68 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABT22SDDMBG57XCEEFTWGALTR2YGLANCNFSM46JC7LJA.
I tried this but it didn't help me. I am using Pi with Homebridge image.
Make sure you add the line to "all" header sections, not only at line 145
On 9/06/2021 10:21, Kocsis Dániel wrote:
Hi Sorry for the misunderstanding but you need to add it to each header section in the source file. On my homebridge it's on /usr/lib/node_modules/homebridge-panasonic-air-conditioner/index.js For example at line 145: headers: { "Accept": "application/json; charset=UTF-8", "Content-Type": "application/json", "User-Agent": "G-RAC", "X-APP-TYPE": 0, "X-APP-VERSION": this.version }, Best regards Arkadi Colson … <#> On 9/06/2021 02:25, putthegundownkinkade wrote: Adding this to each header section works for me: "User-Agent": "G-RAC", Arkadi … <#> What is the header section I have saved it like this but still no joy { "User-Agent": "G-RAC", "name": "Master bedroom", "debug": false, "email": "notemail", "password": "notpassword", "accessory": "PanasonicAirConditioner" } — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#68 (comment) <https://github.com/codyc1515/homebridge-panasonic-air-conditioner/issues/68#issuecomment-857280604>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABT22SDDMBG57XCEEFTWGALTR2YGLANCNFSM46JC7LJA.
I tried this but it didn't help me. I am using Pi with Homebridge image.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/codyc1515/homebridge-panasonic-air-conditioner/issues/68#issuecomment-857492065, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABT22SCC2QV2WME6KJYZ3EDTR4P65ANCNFSM46JC7LJA.
Sorry, should be fixed now. Panasonic added even more validation on the server side (which is not really a good thing).
Thanks for getting this issue fixed. However, i get new errors now.
"Could not login to Panasonic account | Error # undefined: undefined"
Then some more errors and Hoobs fail to start..
EDIT
Nevermind. The update hadn't applied
Sorry, should be fixed now. Panasonic added even more validation on the server side (which is not really a good thing). Thanks for the quick update, it works perfectly now.
OK, it's working. Thank you!
Amazing job guys
Get Outlook for iOShttps://aka.ms/o0ukef
From: Kocsis Dániel @.> Sent: Thursday, June 10, 2021 3:38:52 AM To: codyc1515/homebridge-panasonic-air-conditioner @.> Cc: putthegundownkinkade @.>; Comment @.> Subject: Re: [codyc1515/homebridge-panasonic-air-conditioner] Failed to Login (#68)
Closed #68https://github.com/codyc1515/homebridge-panasonic-air-conditioner/issues/68.
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/codyc1515/homebridge-panasonic-air-conditioner/issues/68#event-4866565081, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ASK5Q3PJRTW6EQGZ746Q6EDTR6RKZANCNFSM46JC7LJA.
This plugin doesn't work anymore. Failed to Login. I tried both account. The main account and the second one which I made for this plugin. The Panasonic app works fine and I could control my air conditioner over this app.