Comments (15)
It seems HOOBS stores the plugins in a different location. I found them here:
/home/hoobs/.hoobs/node_modules/homebridge-panasonic-air-conditioner
Just commented out that line. Hopefully it works. Thanks
from homebridge-panasonic-air-conditioner.
I posted the same issue a couple of weeks back (issue #18).
The index.js script runs the following every 3 hours (10800000 milliseconds):
// Refresh the login token every 3 hours
setInterval(function() {this._login();}, 10800000);
Which somehow causes the script to crash. I don't know how to code in node.js so I wouldn't know how to go about fixing it.
from homebridge-panasonic-air-conditioner.
That semicolon after this.login() doesn't look right...
from homebridge-panasonic-air-conditioner.
Just remove the line (or make it a comment). Works fine for me
from homebridge-panasonic-air-conditioner.
Any idea where I can find the index.js? I'm running HOOBS on a Pi
from homebridge-panasonic-air-conditioner.
You can check this location:
/usr/local/lib/node_modules/homebridge-panasonic-air-conditioner
Than restart the service, working fine for over a day right over here without any issue.
from homebridge-panasonic-air-conditioner.
@miguelsasso does it work?
from homebridge-panasonic-air-conditioner.
@miguelsasso does it work?
Hi! Thanks for the solution, it works since 2 days for me. :)
from homebridge-panasonic-air-conditioner.
My colleague checked the script. A small modification seems to solve the problem. I make a PR.
from homebridge-panasonic-air-conditioner.
Can you please try with the latest update? 5c4262a
Note: that this update has a fairly major change. The plugin used to call the server every time you open the Home app (which delays all plugins responses) and will now poll the server every 10 minutes or so. If you are using just the Home app (i.e. not the Comfort Cloud app or the remote) then your information will always be current and this will not be an issue, otherwise it will refresh every ten minutes.
from homebridge-panasonic-air-conditioner.
It is up and running since 12 hours, so the previously reported problem doesn’t exist anymore. Thank you very much for your efforts!
from homebridge-panasonic-air-conditioner.
Glad I could help :)
from homebridge-panasonic-air-conditioner.
Noted the latest version is configured to poll the server every "10 minutes or so".
I have multiple users in my household so 10 minutes may not be frequent enough. Could you perhaps provide a user configured parameter to define polling frequency?
from homebridge-panasonic-air-conditioner.
That’s only necessary if you’re using the remote or the Panasonic app. If they’re all using the Home app it should be updated live. Can you please confirm?
from homebridge-panasonic-air-conditioner.
Some members of my household still use the remote control. Also, the current temperature is required to be fetched from the Panasonic servers.
Is there any reason why Panasonic wouldn't allow us to poll their server say, every minute?
from homebridge-panasonic-air-conditioner.
Related Issues (20)
- Dry setting and I auto X HOT 2
- 'Target Heater-Cooler State': characteristic value expected valid finite number and received "undefined" (undefined) HOT 10
- After reboot Homebridge (or Pi) no response in Homekit HOT 4
- Error in mail account login but same credentials work fine in the panasonic app (multi device setup) FIXED HOT 1
- Failed to Login HOT 15
- Plugin's new versions not on this repository HOT 2
- 4106 new version has been published HOT 17
- Failed to login error HOT 8
- Duplicate - New Version 4106 - Token Expired Error HOT 1
- Threshold Cooling/Heating Temperature was supplied an illegal value HOT 7
- Failed to login. Check the configured email and password, then restart Homebridge. 5300 HOT 1
- Code sync with npm HOT 5
- Road to Platform Plugin HOT 6
- This plugin generated a warning from the characteristic HOT 4
- Version error and plugin deprecated? HOT 1
- 'Cooling Threshold Temperature' characteristic error HOT 2
- New version of app HOT 2
- Swing Mode HOT 1
- New plugin implementation HOT 1
- New Version of the App HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebridge-panasonic-air-conditioner.