nitaybz / homebridge-cool-automation Goto Github PK
View Code? Open in Web Editor NEWHomebridge plugin for Cool Automation - HVAC Systems Controller
License: GNU General Public License v3.0
Homebridge plugin for Cool Automation - HVAC Systems Controller
License: GNU General Public License v3.0
Socket errors after updating:
[7/8/2023, 10:04:05 AM] [homebridge-cool-automation] Sending Command: ls2
Error: Socket is closed
at new NodeError (node:internal/errors:400:5)
at Socket._writeGeneric (node:net:913:8)
at Socket._write (node:net:935:8)
at writeOrBuffer (node:internal/streams/writable:392:12)
at _write (node:internal/streams/writable:333:10)
at Socket.Writable.write (node:internal/streams/writable:337:10)
at /homebridge/node_modules/homebridge-cool-automation/coolAutomation/api.js:66:10
at new Promise ()
at sendCommand (/homebridge/node_modules/homebridge-cool-automation/coolAutomation/api.js:35:9)
at Object.getDevices (/homebridge/node_modules/homebridge-cool-automation/coolAutomation/api.js:14:11)
The plugin is producing a heavy amount of logs and creating issues with Homebridge backing up?
Is there a config item we can turn on/off or change to 'further' reduce how much logging is occurring in the logs.log file.
See attached.
1: the log text being produced
2: the issue with homebridge backups
3: my config.
Hello!
I've seen the README which shows the main configuration file but it doesn't show how the devices are exposed at the Home App.
For example, in my case I'm planning to have 1x CoolLinkHub with 4x CoolPlugs. Each of those plugs are connected to each internal split cassete unit from Samsung.
The thing is that each of those CoolPlugs are independent rooms with their own temperatures and I would like to know if they will appear on Home App as its own device controllable on its own, so I can have different automations controlling different environments.
Thank you!
I really appreciate any more info regarding how it really works.
Best regards
Hi
I use a Synology nas via putty.I see all my unit configure in cool automation on the log but I have an error command is2 and at the end error 0. Could anyone tell me what I have to
Rgds
Very nice plugin. Some improvements are needed to ensure the user experience is good for the entire family to save the aircon unit from fault.
1: On the Homekit dashboard, if you click on the Coolplug air con which is set up the aircon unit immediately turns on or off. I would expect that the air-con device "settings" window opens instead of turning the air con on/off. The settings window is where the user can turn off/on, set temp etc.
Can we get a config setting or a fix for this? As it, there is a high risk the unit will encounter damage from the constant on/off switching.
Is there a way we can edit configure or completely remove the "OFF" (far left slider setting) for the Fan Speed, its redundant considering we can turn the fan off from the temperature gauge setting. @nitaybz
Hi. Is there a way to enable horizontal/vertical oscillation on homekit with this plugin?
Seems like the auto detection between Celsius and Fahrenheit is there but is not being properly triggered, Cool master returns all the values in Fahrenheit with "F" but are ignored by the plugin and all the values are being treated as Celsius and the values shown on homebridge are way higher than the real values .
[1/19/2021, 7:42:50 PM] [CoolAutomation] Sending Command: ls2 [1/19/2021, 7:42:50 PM] [CoolAutomation] Successful response (ls2): [1/19/2021, 7:42:50 PM] [CoolAutomation] [ 'L2.136 ON 069.0F 073.0F Auto Cool OK - 0', 'L2.137 ON 072.0F 069.0F Auto Cool OK - 0', 'L2.138 ON 072.0F 071.0F Auto Cool OK - 0', 'L2.139 ON 072.0F 073.0F Auto Cool OK - 0', 'L2.140 ON 072.0F 071.0F Auto Cool OK - 0'
Hi Team,
We have created a Homekit scene that turns 3 of 5 AC units off.
Generally 1 unit is still left on when the scene is triggered.
If you trigger the scene again it will turn the 3rd unit off.
It's generally random for what unit stays on.
Controls in general seem fine and do not appear to miss commands.
The homebridge log shows commands have been sent.
The unit that misses the comand will reappear as on in homekit generally after 10-30 seconds.
Is it possible too many commands are being sent at the same time and the CoolMasterNet cannot process?
Is there a way to fix this?
Please let me know if you require any additional information
Dear all,
when changing the fan speed, it closes the ac unit for some reason
zeev
The air con slider is very hard to use by kids, Can we have the fan speed labels added to the fan speed slider so we visually know if it low, med, high or auto? @nitaybz
Are you trying to use this for cooling hub and plugs controlling Daikin to unit Evac. One problem is that only unit number one, can set cool or heat. Unit number two, should always be configured to on or off, Which happens automatically with ioc control app, And the integration they have with Alexa and Google.
The second problem I have is that fan speed, when changed, causes the unit to turn off, i.e. the component that determines if it’s on heat or cool And the temperature, switches off, and instead the system acts, as if fan is a separate Option, that is either fan or heating or cooling. And when I say fan, I mean, when I try to alter the fan speed. An accidental touch of the fan controller causes the system to stop heating or cooling and go into fan mode, And when I turn on cooling or heating fan, turns off, as if it was an alternate not. And aggregate trade as it should be. I hope this is clear enough if needed I can provide more information or screenshots. Thanks
I am using your Cool Automation app for home bridge. I first tried installing on my iMac and it worked perfectly. Now trying to replicate the build on my Synology NAS and am facing an issue when installing. Please see the error codes below:
[7/21/2021, 12:46:22 AM] [Homebridge UI] Starting terminal session
[7/21/2021, 12:46:23 AM] ====================
[7/21/2021, 12:46:23 AM] ERROR LOADING PLUGIN homebridge-cool-automation:
[7/21/2021, 12:46:23 AM] Error: EACCES: permission denied, mkdir 'log'
at Object.mkdirSync (fs.js:1009:3)
at Object. (/homebridge/node_modules/homebridge-cool-automation/node_modules/tcp-client/log/index.js:12:5)
at Module._compile (internal/modules/cjs/loader.js:1085:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
at Module.load (internal/modules/cjs/loader.js:950:32)
at Function.Module._load (internal/modules/cjs/loader.js:790:14)
at Module.require (internal/modules/cjs/loader.js:974:19)
at require (internal/modules/cjs/helpers.js:92:18)
at Object. (/homebridge/node_modules/homebridge-cool-automation/node_modules/tcp-client/lib/index.js:3:14)
at Module._compile (internal/modules/cjs/loader.js:1085:14)
[7/21/2021, 12:46:23 AM] ====================
[7/21/2021, 12:46:23 AM] Loaded plugin: [email protected]
[7/21/2021, 12:46:23 AM] Registering accessory 'homebridge-dummy.DummySwitch'
[7/21/2021, 12:46:23 AM] ---
[7/21/2021, 12:46:23 AM] Loaded plugin: [email protected]
[7/21/2021, 12:46:23 AM] Registering platform 'homebridge-config-ui-x.config'
[7/21/2021, 12:46:23 AM] ---
[7/21/2021, 12:46:23 AM] Loading 2 platforms...
[7/21/2021, 12:46:23 AM] [Config] Initializing config platform...
[7/21/2021, 12:46:23 AM] [Config] Running in Service Mode
[7/21/2021, 12:46:23 AM] No plugin was found for the platform "CoolAutomation" in your config.json. Please make sure the corresponding plugin is installed correctly.
Please let me know where I’m going wrong. I tried adding “--unsafe-perm=true --allow-root” at the end of sudo npm install -g homebridge-cool-automation but to no avail.
Thanks in advanced for building this great plugin and assisting me.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.