-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Support] HOOBS Installation Issue #70
Comments
Hi @QLDRiddler, Please try the following command /var/lib/hoobs/cmd4bridge/node_modules/homebridge-cmd4-advantageair/ConfigCreator.sh Then enter your ip address of your AdvantageAir system |
That took me one step further but when I entered the IP address of the AA
unit, it still came back as inaccessible or invalid. I've just tried
pinging the AA unit directly at xxx.xxx.xxx.xxx:2025/getSystemData and that
responds immediately with the JSON data.
…On Tue, 16 Aug 2022 at 16:23, uswong ***@***.***> wrote:
Hi @QLDRiddler <https://github.com/QLDRiddler>,
Please try the following command
/var/lib/hoobs/cmd4bridge/node_modules/homebridge-cmd4-advantageair/ConfigCreator.sh
Then enter your ip address of your AdvantageAir system
—
Reply to this email directly, view it on GitHub
<#70 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A2RODLYU2B264CHDKY6HFJLVZMXVBANCNFSM56UQCGDQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
that is a bit strange. make sure that you are in your home directory, then try this command /var/lib/hoobs/cmd4bridge/node_modules/homebridge-cmd4-advantageair/ConfigCreator.sh "xxx.xxx.xxx.xxx" |
Thanks for sticking with me here. One step forward, one step back - it now
tries to create the file but still doesnt seem to be able to access the
unit. Pasted below is a screengrab from the Hoobs terminal, followed by a
screen grab of a direct ping of the AA unit from a browser.
[image: image.png]
[image: image.png]
…On Tue, 16 Aug 2022 at 16:50, uswong ***@***.***> wrote:
that is a bit strange.
make sure that you are in your home directory, then try this command
/var/lib/hoobs/cmd4bridge/node_modules/homebridge-cmd4-advantageair/ConfigCreator.sh
"xxx.xxx.xxx.xxx"
—
Reply to this email directly, view it on GitHub
<#70 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A2RODL5WJ75MHRBEA6WS7B3VZM22FANCNFSM56UQCGDQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
For some reasons, I can't see your screen grab images. can you please test the following on your terminal?
If the command returned the Json file, then your ip address xxx.xxx.xxx.xxx must be correct. If not, then there are two reasons for the inaccessible message.
to overcome the later, edit the line 802 in ConfigCreator.sh change the number 15 to 60, to become the following: For your reference, if everything is working well, you should see the following messages: My installation is on Raspberry Pi and it looks like this: |
Pinging the unit with the CURL command generated an immediate JSON response
so the bridge can obviously see the unit. I'm attaching teh screen grabs as
attachem,ent this time to see if that helps. Otherwise pasted below is the
line-by-line output from the Hoobs terminal when I try and run the
Configurator.
***@***.***:~ $
/var/lib/hoobs/cmd4bridge/node_modules/homebridge-cmd4-advantageair/ConfigCreator.sh
"192.168.101.164"
In the process of creating the Cmd4 configuration file for your
AdvantageAir system(s).
It may take up to 2 minutes....
Fetching and processing data from your AdvantageAir system
(192.168.101.164)....
/var/lib/hoobs/cmd4bridge/node_modules/homebridge-cmd4-advantageair/ConfigCreator.sh:
line 812: jq: command not found
/var/lib/hoobs/cmd4bridge/node_modules/homebridge-cmd4-advantageair/ConfigCreator.sh:
line 817: jq: command not found
/var/lib/hoobs/cmd4bridge/node_modules/homebridge-cmd4-advantageair/ConfigCreator.sh:
line 818: jq: command not found
/var/lib/hoobs/cmd4bridge/node_modules/homebridge-cmd4-advantageair/ConfigCreator.sh:
line 820: jq: command not found
/var/lib/hoobs/cmd4bridge/node_modules/homebridge-cmd4-advantageair/ConfigCreator.sh:
line 821: jq: command not found
/var/lib/hoobs/cmd4bridge/node_modules/homebridge-cmd4-advantageair/ConfigCreator.sh:
line 822: jq: command not found
cat: cmd4Config.json.AAaccessories: No such file or directory
Cmd4 configuration file has now been created successfully:
cmd4Config_AA_.json.1660635646
This newly created config can be copied to Homebridge config.json
automatically
The existing Cmd4 configuration pertaining to AdvantageAir system(s) will
be overwritten by this new one
Do you want to proceed? (y/n)
y
Homebridge config.json:
ERROR: no Homebridge config.json found!
INFO: the created cmd4Config_AA_.json.1660635646 was unable to be copied
to Homebridge-Cmd4 JASON Config Editor!
…On Tue, 16 Aug 2022 at 17:21, uswong ***@***.***> wrote:
For some reasons, I can't see your screen grab images.
can you please test the following on your terminal?
curl -s -g --max-time 15 --fail --connect-timeout 15 "
http://xxx.xxx.xxx.xxx:2025/getSystemData"
If the command returned the Json file, then your ip address
xxx.xxx.xxx.xxx must be correct.
If not, then there are two reasons for the inaccessible message.
1. one is wrong ip address. you have rule that out, I think.
2. another reason is that your system is running quite slow and took
more than 15 seconds.
to overcome the later, edit the line 802 in ConfigCreator.sh
myAirData=$(curl -s -g --max-time 15 --fail --connect-timeout 15 "http://
${IPA}:2025/getSystemData")
change the number 15 to 60, to become the following:
myAirData=$(curl -s -g --max-time 60 --fail --connect-timeout 60 "http://
${IPA}:2025/getSystemData")
For your reference, if everything is working well, you should see the
following messages:
My installation is on Raspberry Pi and it looks like this:
[image: image]
<https://user-images.githubusercontent.com/96530237/184818009-011249be-7b58-4b78-afc6-a1052f2aa2c8.png>
—
Reply to this email directly, view it on GitHub
<#70 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A2RODL6GJUB5T5VZGKENJ5DVZM6OTANCNFSM56UQCGDQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
OK, your system is actually running fast, the max-time of 15 seconds is not the issue. The issue is your jq installation. try
you should see a response something like this: if not, you have to install jq first |
for Raspbian/Hoobs: |
@uswong thanks for jumping on this one for me. I really dislike HOOBS haha if I remember correctly they restrict what commands and access the user has at the terminal with their image... It was a very long time ago I tried HOOBS and I had to do a whole heap of extra steps to use some basic commands. I do not think we have 100% confirmed any users have this working on HOOBS yet, I did have a user who had trouble getting set up before had UI integration and never heard back from them on if they had a win or not in the end. |
haha... I never come across HOOBS. I just googled it and this is what I got: HOOBS is the number one solution for Homebridge.
If jq is actually installed and if Hoobs restrict the use of jq at the terminal, then I guess our next version of ConfigCreator which is running within Homebridge-ui environment should work better for @QLDRiddler. |
Yeah they would say that lol they are an early fork from The problem is they charge (with a mark up) for parts you could buy yourself and use a restricted version of what is a free image you could acquire; as you know. Anyway I should stop distracting from the point and my aim has always been to support HOOBS as well. @QLDRiddler I would suggest if you want a nicer experience with all your plug-ins (earlier updates, more support in the community, etc.) you should swap over to homebridge (but no pressure): https://github.com/homebridge/homebridge-raspbian-image/wiki/How-to-migrate-from-HOOBS-to-Homebridge |
@uswong I am not quite ready to roll out the new version of ConfigCreator just yet as I will have to do all the admin work for it; including grabbing screenshots to update the install instructions (the lengthy part). I have merged and tested it and it works as expected. What I can do in the mean time if @QLDRiddler is keen to give it a go, I could give some instructions on how to install it from 'git clone' so they can test it before it is rolled out. @QLDRiddler did you want to give that a try? It would tell us if the new integration will get around any limitations applied by HOOBS... |
Sure, happy to be an alpha/beta guinea pig, what could go wrong? 😷
…________________________________
From: Mitch Williams ***@***.***>
Sent: Tuesday, August 16, 2022 8:09:35 PM
To: mitch7391/homebridge-cmd4-AdvantageAir ***@***.***>
Cc: QLDRiddler ***@***.***>; Mention ***@***.***>
Subject: Re: [mitch7391/homebridge-cmd4-AdvantageAir] Installation issue (Issue #70)
@uswong<https://github.com/uswong> I am not quite ready to roll out the new version of ConfigCreator just yet as I will have to do all the admin work for it; including grabbing screenshots to update the install instructions (the lengthy part). I have merged and tested it and it works as expected. What I can do in the mean time if @QLDRiddler<https://github.com/QLDRiddler> is keen to give it a go, I could give some instructions on how to install it from 'git clone' so they can test it before it is rolled out.
@QLDRiddler<https://github.com/QLDRiddler> did you want to give that a try? It would tell us if the new integration will get around any limitations applied by HOOBS...
—
Reply to this email directly, view it on GitHub<#70 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/A2RODLZ7WHCRVUM3ROJUIU3VZNSF7ANCNFSM56UQCGDQ>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Give me a few secs to type out the instructions for you and worst case is it will not be any worse than what you have now. You will then just re-install the plug-in to revert. |
To revert just re-install the plugin as you had done the first time. Not sure if HOOBS will let you do any of this but worth a shot! |
Actually there will be slightly different steps for using the ConfiCreator now, so don't follow the steps on the Wiki again.
|
Hi,
Install the dev dependencies
npm install --dev
I believe
John
…On Wed, Aug 17, 2022 at 11:11 PM uswong ***@***.***> wrote:
Hey Mitch, I tested the above git clone procedure and got an error sh:
husky: command not found. when I did npm pack command.
[image: image]
<https://user-images.githubusercontent.com/96530237/185283936-9b234d96-18e2-460c-938e-9b6630803959.png>
What I did to resolve the error was before the npm pack command, I have
to do a npm i to install husky first, then everything worked.
[image: image]
<https://user-images.githubusercontent.com/96530237/185284184-2aa26558-aa50-46b1-b56b-64c2e8d4941a.png>
[image: image]
<https://user-images.githubusercontent.com/96530237/185284392-0589290b-50da-4859-8bea-ee6f49bdd7fe.png>
[image: image]
<https://user-images.githubusercontent.com/96530237/185284450-7163697a-9151-4edc-b538-226e18282d6a.png>
—
Reply to this email directly, view it on GitHub
<#70 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABSBCX5RWOTKJUVNALRVNY3VZWSVPANCNFSM56UQCGDQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***
com>
|
Hey @uswong I was not aware it would need husky installed to just do a @QLDRiddler sorry to pressure you, but did you get a chance to give this a go? Please let us know if you face any troubles or need further guidance. |
Sorry, getting lots of errors in many steps and as I'm not
understanding what's being done, not sure what I need to do to resolve.
Could you perhaps give definitive insrutctions again as to what should be
required (inc the revised npm commands) and I'll give it another go. Is
there anything I should need to do beforehand to prepare a clean install
environment (delete the old plugin, remove tmp directories from the failed
upgrade etc?)
…On Thu, 18 Aug 2022 at 20:08, Mitch Williams ***@***.***> wrote:
Hey @uswong <https://github.com/uswong> I was not aware it would need
husky installed to just do a npm pack... Just a npm install husky would
suffice if that error holds you up, or similar to what John has said about;
a npm install --include-dev should do.
@QLDRiddler <https://github.com/QLDRiddler> sorry to pressure you, but
did you get a chance to give this a go? Please let us know if you face any
troubles or need further guidance.
—
Reply to this email directly, view it on GitHub
<#70 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A2RODL6PUUO6A2J6GZTY523VZYDP7ANCNFSM56UQCGDQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hey @QLDRiddler, completely understandable if the above got confusing and what we have asked you to do still might not actually work. Just to reassure you that the steps you will be taking will not harm your setup in anyway. The directory we end up creating in ‘/tmp’ ends up getting deleted once you reboot your RPi. The extra installation of ‘husky’ or ‘include-dev’ does not cause any issues to your system and takes up barely any space. Anyway, revised steps as requested:
If at any stage of these steps that you get stuck or stopped by some sort of error, please capture a screenshot or copy the error for us so we can further help. |
I followed the steps as directed (I did have to do the husky step as well)
but showing v3.5.1 as per the attached screen grab. Pasted below is the
response from install process. I noticed that it said that packages are
looking for funding, so I ran nnpm fund as sudo and have also pasted that
output. Sorry I can be of more technical assistance but more than willing
tp keep plugging away.
***@***.***:/tmp/homebridge-cmd4-AdvantageAir $ npm pack
npm notice
npm notice 📦 ***@***.***
npm notice === Tarball Contents ===
npm notice 1.1kB .eslintrc.json
npm notice 1.2kB .github/ISSUE_TEMPLATE/bug-report.md
npm notice 954B .github/ISSUE_TEMPLATE/feature-request.md
npm notice 1.6kB .github/ISSUE_TEMPLATE/support-request.md
npm notice 949B .github/pull_request_template.md
npm notice 61B .husky/pre-commit
npm notice 44.8kB AdvAir.sh
npm notice 16.1kB CHANGELOG.md
npm notice 32.5kB ConfigCreator.sh
npm notice 1.1kB LICENSE
npm notice 8.1kB README.md
npm notice 2.0kB config.schema.json
npm notice 242B homebridge-ui/public/css/style.css
npm notice 74.3kB homebridge-ui/public/images/AdvAir.png
npm notice 6.6kB homebridge-ui/public/index.html
npm notice 2.2kB homebridge-ui/public/js/main.js
npm notice 29.6kB homebridge-ui/server.js
npm notice 383B index.js
npm notice 3.0kB package.json
npm notice === Tarball Details ===
npm notice name: homebridge-cmd4-advantageair
npm notice version: 3.6.0
npm notice filename: homebridge-cmd4-advantageair-3.6.0.tgz
npm notice package size: 110.8 kB
npm notice unpacked size: 226.7 kB
npm notice shasum: 675ad76acfca57b2edd9e44814cbd36f0c572b57
npm notice integrity: sha512-eShtRMAGmaokK[...]V6NYs9EpCUwFg==
npm notice total files: 19
npm notice
homebridge-cmd4-advantageair-3.6.0.tgz
***@***.***:/tmp/homebridge-cmd4-AdvantageAir $ sudo npm install -g
./homebridge-cmd4-advantageair-3.6.0.tgz --unsafe-perm
[sudo] password for hoobs:
changed 16 packages, and audited 17 packages in 4s
51 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
***@***.***:/tmp/homebridge-cmd4-AdvantageAir $ sudo npm fund
[sudo] password for hoobs:
***@***.***
├─┬ https://github.com/chalk/chalk?sponsor=1
│ │ └── ***@***.***
│ └── https://github.com/chalk/ansi-styles?sponsor=1
│ └── ***@***.***
├─┬ https://opencollective.com/eslint
│ │ └── ***@***.***
│ ├── https://github.com/sponsors/sindresorhus
│ │ └── ***@***.***, ***@***.***, ***@***.***,
***@***.***, ***@***.***, ***@***.***,
***@***.***, ***@***.***, ***@***.***, ***@***.***,
***@***.***, ***@***.***, ***@***.***, ***@***.***,
***@***.***, ***@***.***, ***@***.***, ***@***.***,
***@***.***, ***@***.***, ***@***.***, ***@***.***,
***@***.***, ***@***.***, ***@***.***, ***@***.***
│ ├── https://github.com/sponsors/mysticatea
│ │ └── ***@***.***, ***@***.***
│ └── https://github.com/sponsors/isaacs
│ └── ***@***.***, ***@***.***
├── https://github.com/sponsors/typicode
│ └── ***@***.***
├─┬ https://opencollective.com/mochajs
│ │ └── ***@***.***
│ ├─┬ https://paulmillr.com/funding/
│ │ │ └── ***@***.***
│ │ └── https://github.com/sponsors/jonschlinkert
│ │ └── ***@***.***
│ └── https://github.com/chalk/supports-color?sponsor=1
│ └── ***@***.***
├── https://opencollective.com/sinon
│ └── ***@***.***
├── https://github.com/sponsors/feross
│ └── ***@***.***
├── https://github.com/sindresorhus/execa?sponsor=1
│ └── ***@***.***
├── https://github.com/sponsors/epoberezkin
│ └── ***@***.***
└── https://github.com/chalk/wrap-ansi?sponsor=1
└── ***@***.***
…On Fri, 19 Aug 2022 at 11:57, Mitch Williams ***@***.***> wrote:
Hey @QLDRiddler <https://github.com/QLDRiddler>, completely
understandable if the above got confusing and what we have asked you to do
still might not actually work.
Just to reassure you that the steps you will be taking will not harm your
setup in anyway. The directory we end up creating in ‘/tmp’ ends up getting
deleted once you reboot your RPi. The extra installation of ‘husky’ or
‘include-dev’ does not cause any issues to your system and takes up barely
any space.
Anyway, revised steps as requested:
1. Reboot your RPi to clear ‘/tmp’.
2. Open your terminal.
3. Type:
cd /tmp
4. Type:
git clone https://github.com/mitch7391/homebridge-cmd4-AdvantageAir.git
5. Type:
cd homebridge-cmd4-AdvantageAir
6. Type:
npm pack
If you have an error here about husky not being installed. Use:
npm install husky
Reattempt the npm pack.
7. If successful, type:
sudo npm install -g ./homebridge-cmd4-advantageair-3.6.0.tgz --unsafe-perm
8. Open you plug-ins tab and it should now say you have v3.6.0.
9. On the plug-in page, click SETTINGS for this plug-in and it will
bring up a UI.
10. Scroll to the bottom and type in the name of your system (E-zone,
Aircon, Riddler, etc.).
11. Type in your IP address.
12. Click SAVE.
13. You might need to launch the SETTINGS again.
14. At the top of the UI press Config Creator.
15. Hopefully everything worked!
16. If it did, then run the Check Configuration.
If at any stage of these steps that you get stuck or stopped by some sort
of error, please capture a screenshot or copy the error for us so we can
further help.
—
Reply to this email directly, view it on GitHub
<#70 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A2RODL3OWHFY7PJZFFJND5DVZ3SXDANCNFSM56UQCGDQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
This is an interesting one @QLDRiddler... It looks like everything you have done has worked and is correct, but it is then not reflecting in the plug-in itself. My colleague @uswong says he is experiencing the same strange issue himself on his Homebridge RPi; I am not experiencing the issue and have tried it three times... I would say at this point we will stop wasting your time by getting you to attempt it over and over. I will get my butt into gear tonight or tomorrow and push forward the release so you can install it the normal way (instead of our dev way). Sorry for all this inconvenience so far! Also, the npm funding is just npm itself wanting people to fund projects (like a donate button); it will ask you about that every time you do an npm update, so just ignore that as it will not affect anything you are wanting to do. I have also just dug up a very old HOOBS OS ZIP file download from back when they used to let you have the image for free (hopefully it lets me update for free too); I cannot believe they charge $10 for just the image download! I think it is fair time that I fired this up on my spare RPi3 and make sure I can get through the install myself and update any notes for future users. |
Hi Mitch,
I've duplicated your success and others failures.
Your success is because you might have husky installed globally, or after
the 'git clone', you had done a ' npm install --include-dev' before the
'npm pack'. Husky is only for the commit hooks used during development.
I.e. running the test scripts.
I am not sure why at the bottom of the package.json file there is an
entry:
"prepare": "husky install"
If you delete that line and the comma from the end of the preceding line,
everything seems happy or do an:
npm install --include-dev
Before the "npm pack" command
So to be clear, following your steps add step 5B
4. Type:
5. Type:
cd homebridge-cmd4-AdvantageAir
5.B Type:
npm install --include-dev
The true fix might be removing the "prepare: husky install" from the
package.json. How it got there, I'd have to look back in history. Another
reason not to delete history, but that's the other conversation.
Ttyl,
John
…On Fri, Aug 19, 2022 at 12:23 AM Mitch Williams ***@***.***> wrote:
This is an interesting one @QLDRiddler <https://github.com/QLDRiddler>...
It looks like everything you have done has worked and is correct, but it is
then not reflecting in the plug-in itself. My colleague @uswong
<https://github.com/uswong> says he is experiencing the same strange
issue himself on his Homebridge RPi; I am not experiencing the issue and
have tried it three times...
I would say at this point we will stop wasting your time by getting you to
attempt it over and over. I will get my butt into gear tonight or tomorrow
and push forward the release so you can install it the normal way (instead
of our dev way). Sorry for all this inconvenience so far!
Also, the npm funding is just npm itself wanting people to fund projects
(like a donate button); it will ask you about that every time you do an npm
update, so just ignore that as it will not affect anything you are wanting
to do.
I have also just dug up a very old HOOBS OS ZIP file download from back
when they used to let you have the image for free (hopefully it lets me
update for free too); I cannot believe they charge $10 for just the image
download! I think it is fair time that I fired this up on my spare RPi3 and
make sure I can get through the install myself and update any notes for
future users.
—
Reply to this email directly, view it on GitHub
<#70 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABSBCX45VIN3XGX2LHHOGWDVZ4D4FANCNFSM56UQCGDQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Just to update you all, I tried the added step that John mentions and
whilst that took away the install errors, I'm still stuck on 3.5.1 of the
plugin :-(
***@***.***:~ $ cd /tmp
***@***.***:/tmp $ sudo git clone
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir.git
[sudo] password for hoobs:
Cloning into 'homebridge-cmd4-AdvantageAir'...
remote: Enumerating objects: 2194, done.
remote: Counting objects: 100% (3/3), done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 2194 (delta 0), reused 0 (delta 0), pack-reused 2191
Receiving objects: 100% (2194/2194), 7.77 MiB | 8.85 MiB/s, done.
Resolving deltas: 100% (1249/1249), done.
***@***.***:/tmp $ cd homebridge-cmd4-AdvantageAir
***@***.***:/tmp/homebridge-cmd4-AdvantageAir $ sudo npm install
--include-dev
***@***.*** prepare
husky install
husky - Git hooks installed
added 350 packages, and audited 351 packages in 14s
51 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
***@***.***:/tmp/homebridge-cmd4-AdvantageAir $ sudo npm pack
npm notice
npm notice 📦 ***@***.***
npm notice === Tarball Contents ===
npm notice 1.1kB .eslintrc.json
npm notice 1.2kB .github/ISSUE_TEMPLATE/bug-report.md
npm notice 954B .github/ISSUE_TEMPLATE/feature-request.md
npm notice 1.6kB .github/ISSUE_TEMPLATE/support-request.md
npm notice 949B .github/pull_request_template.md
npm notice 61B .husky/pre-commit
npm notice 44.8kB AdvAir.sh
npm notice 16.1kB CHANGELOG.md
npm notice 32.6kB ConfigCreator.sh
npm notice 1.1kB LICENSE
npm notice 8.1kB README.md
npm notice 2.0kB config.schema.json
npm notice 242B homebridge-ui/public/css/style.css
npm notice 74.3kB homebridge-ui/public/images/AdvAir.png
npm notice 6.6kB homebridge-ui/public/index.html
npm notice 2.2kB homebridge-ui/public/js/main.js
npm notice 29.6kB homebridge-ui/server.js
npm notice 383B index.js
npm notice 3.0kB package.json
npm notice === Tarball Details ===
npm notice name: homebridge-cmd4-advantageair
npm notice version: 3.6.0
npm notice filename: homebridge-cmd4-advantageair-3.6.0.tgz
npm notice package size: 110.8 kB
npm notice unpacked size: 226.9 kB
npm notice shasum: d7b26a48082ffeb75136f99b41bb43f1a68219e0
npm notice integrity: sha512-vLiBc55HVr8Rt[...]H3AwXQi7KNHgA==
npm notice total files: 19
npm notice
homebridge-cmd4-advantageair-3.6.0.tgz
***@***.***:/tmp/homebridge-cmd4-AdvantageAir $ sudo npm install -g
./homebridge-cmd4-advantageair-3.6.0.tgz --unsafe-perm
changed 16 packages, and audited 17 packages in 3s
2 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
***@***.***:/tmp/homebridge-cmd4-AdvantageAir $
…On Fri, 19 Aug 2022 at 15:11, John Talbot ***@***.***> wrote:
Hi Mitch,
I've duplicated your success and others failures.
Your success is because you might have husky installed globally, or after
the 'git clone', you had done a ' npm install --include-dev' before the
'npm pack'. Husky is only for the commit hooks used during development.
I.e. running the test scripts.
I am not sure why at the bottom of the package.json file there is an
entry:
"prepare": "husky install"
If you delete that line and the comma from the end of the preceding line,
everything seems happy or do an:
npm install --include-dev
Before the "npm pack" command
So to be clear, following your steps add step 5B
> 4. Type:
git clone https://github.com/mitch7391/homebridge-cmd4-AdvantageAir.git
>
> 5. Type:
>
> cd homebridge-cmd4-AdvantageAir
>
> 5.B Type:
npm install --include-dev
The true fix might be removing the "prepare: husky install" from the
package.json. How it got there, I'd have to look back in history. Another
reason not to delete history, but that's the other conversation.
Ttyl,
John
On Fri, Aug 19, 2022 at 12:23 AM Mitch Williams ***@***.***>
wrote:
> This is an interesting one @QLDRiddler <https://github.com/QLDRiddler
>...
> It looks like everything you have done has worked and is correct, but it
is
> then not reflecting in the plug-in itself. My colleague @uswong
> <https://github.com/uswong> says he is experiencing the same strange
> issue himself on his Homebridge RPi; I am not experiencing the issue and
> have tried it three times...
>
> I would say at this point we will stop wasting your time by getting you
to
> attempt it over and over. I will get my butt into gear tonight or
tomorrow
> and push forward the release so you can install it the normal way
(instead
> of our dev way). Sorry for all this inconvenience so far!
>
> Also, the npm funding is just npm itself wanting people to fund projects
> (like a donate button); it will ask you about that every time you do an
npm
> update, so just ignore that as it will not affect anything you are
wanting
> to do.
>
> I have also just dug up a very old HOOBS OS ZIP file download from back
> when they used to let you have the image for free (hopefully it lets me
> update for free too); I cannot believe they charge $10 for just the image
> download! I think it is fair time that I fired this up on my spare RPi3
and
> make sure I can get through the install myself and update any notes for
> future users.
>
> —
> Reply to this email directly, view it on GitHub
> <
#70 (comment)
>,
> or unsubscribe
> <
https://github.com/notifications/unsubscribe-auth/ABSBCX45VIN3XGX2LHHOGWDVZ4D4FANCNFSM56UQCGDQ
>
> .
> You are receiving this because you commented.Message ID:
> ***@***.***>
>
—
Reply to this email directly, view it on GitHub
<#70 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A2RODLY4EBHC5OYBZSKUYGLVZ4JRRANCNFSM56UQCGDQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hi,
I'm assuming you did step 6
1. Type:
sudo npm install -g ./homebridge-cmd4-advantageair-3.6.0.tgz --unsafe-perm
After which you must restart Homebridge to see the updated plugin.
John
…On Fri, Aug 19, 2022 at 3:22 AM QLDRiddler ***@***.***> wrote:
Just to update you all, I tried the added step that John mentions and
whilst that took away the install errors, I'm still stuck on 3.5.1 of the
plugin :-(
***@***.***:~ $ cd /tmp
***@***.***:/tmp $ sudo git clone
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir.git
[sudo] password for hoobs:
Cloning into 'homebridge-cmd4-AdvantageAir'...
remote: Enumerating objects: 2194, done.
remote: Counting objects: 100% (3/3), done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 2194 (delta 0), reused 0 (delta 0), pack-reused 2191
Receiving objects: 100% (2194/2194), 7.77 MiB | 8.85 MiB/s, done.
Resolving deltas: 100% (1249/1249), done.
***@***.***:/tmp $ cd homebridge-cmd4-AdvantageAir
***@***.***:/tmp/homebridge-cmd4-AdvantageAir $ sudo npm install
--include-dev
> ***@***.*** prepare
> husky install
husky - Git hooks installed
added 350 packages, and audited 351 packages in 14s
51 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
***@***.***:/tmp/homebridge-cmd4-AdvantageAir $ sudo npm pack
npm notice
npm notice 📦 ***@***.***
npm notice === Tarball Contents ===
npm notice 1.1kB .eslintrc.json
npm notice 1.2kB .github/ISSUE_TEMPLATE/bug-report.md
npm notice 954B .github/ISSUE_TEMPLATE/feature-request.md
npm notice 1.6kB .github/ISSUE_TEMPLATE/support-request.md
npm notice 949B .github/pull_request_template.md
npm notice 61B .husky/pre-commit
npm notice 44.8kB AdvAir.sh
npm notice 16.1kB CHANGELOG.md
npm notice 32.6kB ConfigCreator.sh
npm notice 1.1kB LICENSE
npm notice 8.1kB README.md
npm notice 2.0kB config.schema.json
npm notice 242B homebridge-ui/public/css/style.css
npm notice 74.3kB homebridge-ui/public/images/AdvAir.png
npm notice 6.6kB homebridge-ui/public/index.html
npm notice 2.2kB homebridge-ui/public/js/main.js
npm notice 29.6kB homebridge-ui/server.js
npm notice 383B index.js
npm notice 3.0kB package.json
npm notice === Tarball Details ===
npm notice name: homebridge-cmd4-advantageair
npm notice version: 3.6.0
npm notice filename: homebridge-cmd4-advantageair-3.6.0.tgz
npm notice package size: 110.8 kB
npm notice unpacked size: 226.9 kB
npm notice shasum: d7b26a48082ffeb75136f99b41bb43f1a68219e0
npm notice integrity: sha512-vLiBc55HVr8Rt[...]H3AwXQi7KNHgA==
npm notice total files: 19
npm notice
homebridge-cmd4-advantageair-3.6.0.tgz
***@***.***:/tmp/homebridge-cmd4-AdvantageAir $ sudo npm install -g
./homebridge-cmd4-advantageair-3.6.0.tgz --unsafe-perm
changed 16 packages, and audited 17 packages in 3s
2 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
***@***.***:/tmp/homebridge-cmd4-AdvantageAir $
On Fri, 19 Aug 2022 at 15:11, John Talbot ***@***.***> wrote:
> Hi Mitch,
>
> I've duplicated your success and others failures.
> Your success is because you might have husky installed globally, or after
> the 'git clone', you had done a ' npm install --include-dev' before the
> 'npm pack'. Husky is only for the commit hooks used during development.
> I.e. running the test scripts.
>
> I am not sure why at the bottom of the package.json file there is an
> entry:
> "prepare": "husky install"
>
> If you delete that line and the comma from the end of the preceding line,
> everything seems happy or do an:
> npm install --include-dev
> Before the "npm pack" command
>
> So to be clear, following your steps add step 5B
>
> > 4. Type:
> git clone https://github.com/mitch7391/homebridge-cmd4-AdvantageAir.git
> >
> > 5. Type:
> >
> > cd homebridge-cmd4-AdvantageAir
> >
> > 5.B Type:
> npm install --include-dev
>
>
> The true fix might be removing the "prepare: husky install" from the
> package.json. How it got there, I'd have to look back in history. Another
> reason not to delete history, but that's the other conversation.
>
> Ttyl,
> John
>
>
>
> On Fri, Aug 19, 2022 at 12:23 AM Mitch Williams ***@***.***>
> wrote:
>
> > This is an interesting one @QLDRiddler <https://github.com/QLDRiddler
> >...
> > It looks like everything you have done has worked and is correct, but
it
> is
> > then not reflecting in the plug-in itself. My colleague @uswong
> > <https://github.com/uswong> says he is experiencing the same strange
> > issue himself on his Homebridge RPi; I am not experiencing the issue
and
> > have tried it three times...
> >
> > I would say at this point we will stop wasting your time by getting you
> to
> > attempt it over and over. I will get my butt into gear tonight or
> tomorrow
> > and push forward the release so you can install it the normal way
> (instead
> > of our dev way). Sorry for all this inconvenience so far!
> >
> > Also, the npm funding is just npm itself wanting people to fund
projects
> > (like a donate button); it will ask you about that every time you do an
> npm
> > update, so just ignore that as it will not affect anything you are
> wanting
> > to do.
> >
> > I have also just dug up a very old HOOBS OS ZIP file download from back
> > when they used to let you have the image for free (hopefully it lets me
> > update for free too); I cannot believe they charge $10 for just the
image
> > download! I think it is fair time that I fired this up on my spare RPi3
> and
> > make sure I can get through the install myself and update any notes for
> > future users.
> >
> > —
> > Reply to this email directly, view it on GitHub
> > <
>
#70 (comment)
> >,
> > or unsubscribe
> > <
>
https://github.com/notifications/unsubscribe-auth/ABSBCX45VIN3XGX2LHHOGWDVZ4D4FANCNFSM56UQCGDQ
> >
> > .
> > You are receiving this because you commented.Message ID:
> > ***@***.***>
> >
>
> —
> Reply to this email directly, view it on GitHub
> <
#70 (comment)
>,
> or unsubscribe
> <
https://github.com/notifications/unsubscribe-auth/A2RODLY4EBHC5OYBZSKUYGLVZ4JRRANCNFSM56UQCGDQ
>
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
>
—
Reply to this email directly, view it on GitHub
<#70 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABSBCXYAR33JQ3HQT6KQLR3VZ4Y5FANCNFSM56UQCGDQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Hi Mitch,
I spent an hour figuring where the line
prepare: husky install
came from. It seems pull request #40. The line can be deleted as it is not
in my Cmd4 package.json
Ttyl,
John
…On Fri, Aug 19, 2022 at 3:28 AM John Talbot ***@***.***> wrote:
Hi,
I'm assuming you did step 6
1. Type:
sudo npm install -g ./homebridge-cmd4-advantageair-3.6.0.tgz --unsafe-perm
After which you must restart Homebridge to see the updated plugin.
John
On Fri, Aug 19, 2022 at 3:22 AM QLDRiddler ***@***.***>
wrote:
> Just to update you all, I tried the added step that John mentions and
> whilst that took away the install errors, I'm still stuck on 3.5.1 of the
> plugin :-(
>
> ***@***.***:~ $ cd /tmp
> ***@***.***:/tmp $ sudo git clone
> https://github.com/mitch7391/homebridge-cmd4-AdvantageAir.git
> [sudo] password for hoobs:
> Cloning into 'homebridge-cmd4-AdvantageAir'...
> remote: Enumerating objects: 2194, done.
> remote: Counting objects: 100% (3/3), done.
> remote: Compressing objects: 100% (3/3), done.
> remote: Total 2194 (delta 0), reused 0 (delta 0), pack-reused 2191
> Receiving objects: 100% (2194/2194), 7.77 MiB | 8.85 MiB/s, done.
> Resolving deltas: 100% (1249/1249), done.
> ***@***.***:/tmp $ cd homebridge-cmd4-AdvantageAir
> ***@***.***:/tmp/homebridge-cmd4-AdvantageAir $ sudo npm install
> --include-dev
>
> > ***@***.*** prepare
> > husky install
>
> husky - Git hooks installed
>
> added 350 packages, and audited 351 packages in 14s
>
> 51 packages are looking for funding
> run `npm fund` for details
>
> found 0 vulnerabilities
> ***@***.***:/tmp/homebridge-cmd4-AdvantageAir $ sudo npm pack
> npm notice
> npm notice 📦 ***@***.***
> npm notice === Tarball Contents ===
> npm notice 1.1kB .eslintrc.json
> npm notice 1.2kB .github/ISSUE_TEMPLATE/bug-report.md
> npm notice 954B .github/ISSUE_TEMPLATE/feature-request.md
> npm notice 1.6kB .github/ISSUE_TEMPLATE/support-request.md
> npm notice 949B .github/pull_request_template.md
> npm notice 61B .husky/pre-commit
> npm notice 44.8kB AdvAir.sh
> npm notice 16.1kB CHANGELOG.md
> npm notice 32.6kB ConfigCreator.sh
> npm notice 1.1kB LICENSE
> npm notice 8.1kB README.md
> npm notice 2.0kB config.schema.json
> npm notice 242B homebridge-ui/public/css/style.css
> npm notice 74.3kB homebridge-ui/public/images/AdvAir.png
> npm notice 6.6kB homebridge-ui/public/index.html
> npm notice 2.2kB homebridge-ui/public/js/main.js
> npm notice 29.6kB homebridge-ui/server.js
> npm notice 383B index.js
> npm notice 3.0kB package.json
> npm notice === Tarball Details ===
> npm notice name: homebridge-cmd4-advantageair
> npm notice version: 3.6.0
> npm notice filename: homebridge-cmd4-advantageair-3.6.0.tgz
> npm notice package size: 110.8 kB
> npm notice unpacked size: 226.9 kB
> npm notice shasum: d7b26a48082ffeb75136f99b41bb43f1a68219e0
> npm notice integrity: sha512-vLiBc55HVr8Rt[...]H3AwXQi7KNHgA==
> npm notice total files: 19
> npm notice
> homebridge-cmd4-advantageair-3.6.0.tgz
> ***@***.***:/tmp/homebridge-cmd4-AdvantageAir $ sudo npm install -g
> ./homebridge-cmd4-advantageair-3.6.0.tgz --unsafe-perm
>
> changed 16 packages, and audited 17 packages in 3s
>
> 2 packages are looking for funding
> run `npm fund` for details
>
> found 0 vulnerabilities
> ***@***.***:/tmp/homebridge-cmd4-AdvantageAir $
>
> On Fri, 19 Aug 2022 at 15:11, John Talbot ***@***.***> wrote:
>
> > Hi Mitch,
> >
> > I've duplicated your success and others failures.
> > Your success is because you might have husky installed globally, or
> after
> > the 'git clone', you had done a ' npm install --include-dev' before the
> > 'npm pack'. Husky is only for the commit hooks used during development.
> > I.e. running the test scripts.
> >
> > I am not sure why at the bottom of the package.json file there is an
> > entry:
> > "prepare": "husky install"
> >
> > If you delete that line and the comma from the end of the preceding
> line,
> > everything seems happy or do an:
> > npm install --include-dev
> > Before the "npm pack" command
> >
> > So to be clear, following your steps add step 5B
> >
> > > 4. Type:
> > git clone https://github.com/mitch7391/homebridge-cmd4-AdvantageAir.git
> > >
> > > 5. Type:
> > >
> > > cd homebridge-cmd4-AdvantageAir
> > >
> > > 5.B Type:
> > npm install --include-dev
> >
> >
> > The true fix might be removing the "prepare: husky install" from the
> > package.json. How it got there, I'd have to look back in history.
> Another
> > reason not to delete history, but that's the other conversation.
> >
> > Ttyl,
> > John
> >
> >
> >
> > On Fri, Aug 19, 2022 at 12:23 AM Mitch Williams ***@***.***>
> > wrote:
> >
> > > This is an interesting one @QLDRiddler <https://github.com/QLDRiddler
> > >...
> > > It looks like everything you have done has worked and is correct, but
> it
> > is
> > > then not reflecting in the plug-in itself. My colleague @uswong
> > > <https://github.com/uswong> says he is experiencing the same strange
> > > issue himself on his Homebridge RPi; I am not experiencing the issue
> and
> > > have tried it three times...
> > >
> > > I would say at this point we will stop wasting your time by getting
> you
> > to
> > > attempt it over and over. I will get my butt into gear tonight or
> > tomorrow
> > > and push forward the release so you can install it the normal way
> > (instead
> > > of our dev way). Sorry for all this inconvenience so far!
> > >
> > > Also, the npm funding is just npm itself wanting people to fund
> projects
> > > (like a donate button); it will ask you about that every time you do
> an
> > npm
> > > update, so just ignore that as it will not affect anything you are
> > wanting
> > > to do.
> > >
> > > I have also just dug up a very old HOOBS OS ZIP file download from
> back
> > > when they used to let you have the image for free (hopefully it lets
> me
> > > update for free too); I cannot believe they charge $10 for just the
> image
> > > download! I think it is fair time that I fired this up on my spare
> RPi3
> > and
> > > make sure I can get through the install myself and update any notes
> for
> > > future users.
> > >
> > > —
> > > Reply to this email directly, view it on GitHub
> > > <
> >
> #70 (comment)
> > >,
> > > or unsubscribe
> > > <
> >
> https://github.com/notifications/unsubscribe-auth/ABSBCX45VIN3XGX2LHHOGWDVZ4D4FANCNFSM56UQCGDQ
> > >
> > > .
> > > You are receiving this because you commented.Message ID:
> > > ***@***.***>
> > >
> >
> > —
> > Reply to this email directly, view it on GitHub
> > <
> #70 (comment)
> >,
> > or unsubscribe
> > <
> https://github.com/notifications/unsubscribe-auth/A2RODLY4EBHC5OYBZSKUYGLVZ4JRRANCNFSM56UQCGDQ
> >
> > .
> > You are receiving this because you were mentioned.Message ID:
> > ***@***.***>
> >
>
> —
> Reply to this email directly, view it on GitHub
> <#70 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ABSBCXYAR33JQ3HQT6KQLR3VZ4Y5FANCNFSM56UQCGDQ>
> .
> You are receiving this because you commented.Message ID:
> ***@***.***>
>
|
Yes, I think it is best not to touch the directory of the v3.5.1 installation but create the file in the Home drive for now, so that there is no permission issues also when running the script. Hey Mitch, may be you can post the screen shot of your test on your HOOBS for QLDRiddler's reference. |
Copied the script from the link provided, used sudo nano to create the file
and paste the script, ran the newly created ConfigCreator.sh, entered the
details but then it crapped out as per below:
***@***.***:~ $ ls
cmd4Config_AA_Dutton.json cmd4Config_AA_.json.1660633030
cmd4Config_AA_MyPlace.json.1661490720 cmd4Config_AA_MyPlace.json.1661491119
cmd4Config_AA_.json.1660632908 cmd4Config_AA_.json.1660635646
cmd4Config_AA_MyPlace.json.1661490811 ConfigCreator.sh
cmd4Config_AA_.json.1660632983 cmd4Config_AA_MyPlace.json.1660637396
cmd4Config_AA_MyPlace.json.1661490914
***@***.***:~ $ ConfigCreator.sh
Please enter the name (default: Aircon) and IP address of your
AdvanatageAir system:
Name: Home
IP address (xxx.xxx.xxx.xxx): 192.168.101.164
Please enter the name and IP address of your 2nd AdvantageAir System if
any. Just hit 'enter' if none:
Name:
Do you want to set up your "Fan" as "FanSwitch"? (y/n): n
INFO: fanSetup=fan
INFO: AdvAir.sh found:
/var/lib/hoobs/cmd4bridge/node_modules/homebridge-cmd4-advantageair/AdvAir.sh
INFO: This process may take up to 1 minute!
INFO: Fetching and processing data from your AdvantageAir system (Home
192.168.101.164)....
WARNING: No Homebridge config.json file located by the script!
Please enter the full path of your Homebridge config.json file,
otherwise just hit enter to abort copying "cmd4Config_AA_Home.json" to
Homebridge config.json.
The config.json path should be in the form of /*/*/*/config.json
WARNING: No Homebridge config.json file specified
Copying of cmd4Config_AA_Home.json to Homebridge config.json was
aborted
INFO: Please copy/paste the cmd4Config_AA_Home.json into Cmd4 JASON Config
Editor manually
***@***.***:~ $
…On Fri, 26 Aug 2022 at 16:04, Mitch Williams ***@***.***> wrote:
Oh wait disregard that Ung Sing, I see you are getting QLDRiddler to
create the file on the Home drive... Just in case, the command to create
the file is sudo nano ConfigCreator.sh.
—
Reply to this email directly, view it on GitHub
<#70 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A2RODL6QQ77G47SHUYMVNJLV3BNALANCNFSM56UQCGDQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
The issue now is the config.json file required not found. Can you locate the config.json file in your system?
if not, that is something you need to find out. Try the following commands, hopefully one of them will find your config.json file: |
It should be located in |
The script would have found it if it is there. |
Disregard me again… I should stop jumping in lol mine might be there because I do not have a bridge setup; I will leave this to you Ung Sing, I am muddying the waters haha… |
Anything in your accessories tab now @QLDRiddler..? :) |
Nice! It still show v3.5.1 is because the v3.6.0.beta.2 was not installed successfully. That is ok. can u do this command for me to check the validity of the config.json cat /var/lib/hoobs/cmd4bridge/config.json | more if you see something like “platform”: “Cmd4” in there, then the script has done its job and your MyPlace accessories should have been created and you should see it in HOOBS and in HomeKit. From here on, Mitch should be able to help you more as he has tested it with his own HOOBS installation. |
the command should be: cat /var/lib/hoobs/cmd4bridge/config.json | more |
Hi @QLDRiddler, would you be able to issue the following command and see what you get on your system?
If your config.json is in /var/lib/hoobs/cmd4bridge then the script should have found it. Why it did not find it is a bit puzzle to me. |
So the cat command produces a bunch of text which includes {"platform":"cmd4AdvantageAir"}. It does also include this: {"platform":"Cmd4","name":"Cmd4","debug":false,"outputConstants":false,"statusMsg":true,"timeout":60000,"stateChangeResponseTime":0,"constants":[{"key" but shouldnt there be } and ] symbols at the end of that string before the next "key" string starts? Also confirming teh Find command did locate a ferw instances of config.json including one in cmd4bridge. I can now see all my zones, temps etc in Accessories but theyre not showing up in my Apple Home app :-( Finally, anyway of changing the name I gave my system during install? I clicked on the Config button on the plugin but that didnt have any info. |
@QLDRiddler if you are seeing all of the expected accessories in the ‘Accessories’ tab on HOOBS UI then this has been a success. From HomeKit you should be able to scan the QR code provided for your bridge on HOOBS UI and it should then add the accessories for you to HomeKit. I actually had not done this step myself on my HOOBS machine as I did not want to add them to my HomeKit as duplicates haha… |
Do you mean the name you have to the ConfigCreator or your bridge? If you mean the former, you can run it all again or you can modify that ‘config.json’ from the terminal or HOOBS UI (click config on a plug-in and on the left should show your plugins and an ‘advanced’ section; modify it in there). |
Hi @QLDRiddler, Would u be able to post all the instances of the find commands? This is for me trying to understand better the directory structure of HOOBS installation. I was expecting a single instance. Multiple instances is the reason it did not work at the first place. |
First of all, apols for being such a doofus and not scanning the QR code to add to my Homekit, have done that now and all shows up. I posted above the contents of the advanced config screen on the bridge, the only entry is "platform": "cmd4AdvantageAir" so no chance to change the name there. Is that possibly related to the }] situation I mentioned? Here's the output from the Find command: |
Try then you should see the full complete json file. What you saw before was only part of config.json |
Thanks for the output of the find command, I know now what I have to do to pick up only the right one. I will get u an updated version later tonight or tomorrow. |
Hey Mitch and @QLDRiddler, Please download an updated version of ConfigCreator.sh. HOOBS has multiple config.json files if you have created multiple bridges in it. As such, I have to scan all the config.json files for "Cmd4" or "homebridge-cmd4" to get the correct config.json file to use. https://github.com/uswong/homebridge-cmd4-AdvantageAir/blob/master/ConfigCreator.sh Please test it out. @QLDRiddler should no longer need to input the full path to config.json. It should also work for homebridge users too. |
What you saw above was only part of config.json (in compact form) and that is why you see that the brackets are not balanced. What you saw above was correct config.json file for the plugin but incomplete..... Try then you should see the full complete config.json file and all the square and curly brackets are balanced. If you rather want to see the config.json in an expanded form, try the command below:
|
Worked first time :) You little beauties!! Couple more questions for you:
|
Hey @QLDRiddler sorry for the late reply, I had an evening out planned last night; but you were in good hands with Ung Sing in my absence!
Easy mistake to make when we have given you so many things to do :p I am very glad it was just a simple thing like this and not something more major haha...
I may not have described this as well while I was in an Uber last night as I did not have HOOBS in front of me. It looks like you went to the advanced section of 'cmd4-advantageair' but not the advanced section I meant. Here is where I meant: This is the config that the 'ConfigCreator' has made for you and from here, you can now manually edit the
I might need a little more information about your system, do you mean the 'constant zone' represented as a
This is a limitation imposed by Apple themselves for HomeKit; they only support fans that turn on/off or have % based speed. We have set up a conversion in our code to do the
That is correct and how I like to keep mine so when I pull up the temperature status indicator on the home page it shows them in all one place and not scattered across rooms making you scroll down to see them all. You can change this by long pressing on the temperature sensor accessory, scrolling down and changing what room it lives in.
Yes, this means you do have low batteries if the code is working properly; to be 100% sure cross reference with your Advantage Air app and check the zones tab to see if they have any errors on them. In our plug-in the default for 'no reading' is the 25.0deg value; so based on what you have shown me, the batteries have died and are no longer communicating to the control unit any more or they have somehow lost comms to the control unit itself and cannot get a read of value or battery. Please let us know if your Advantage Air app tells you they are reading fine. I think I have answered all your questions? But please let me know if I have missed any. I just also wanted to thank you for your patience and help; I know we had a lot of kinks to iron out to get this working for you, but your hard work has ensured that the next HOOBS user will have a much smoother experience :) Please continue to raise issues for any bugs you find or features you would like to see! |
Wow, such a comprehensive response. Thank you. Quick reply from me. Yes, I did mean the feature M zone - I will look out for future updates if youre able to get this included. I've gone into the tech setup on my AA panel to check the sensors and its reporting all is OK, as per the photo below, as is the zones tab of the app so not sure where the battery warning is coming from. |
I will talk with Ung Sing and we will look into adding it as one of the future updates :) should not be a hard one to implement.
I am not terribly familiar with that Advantage Air UI design, is that the ‘zone10e’ that you have? If not, which app is it that you are using? I have just pulled the battery out of one of my sensors to show you. For my temperature sensors, it will show here: You can always swap the batteries around to be sure; it can take up to 15mins for the Advantage Air controller to recognise the new battery I have found. Otherwise we will have to try figure out what is going wrong for these two temperature sensors for you! |
The photo was of the native tablet supplied with the system and directly
connected to the control unit. If you click on setup, there's an option for
Tech Setup that you access after entering a master PIN. Then lots of behind
the scenes goodies. I believe this Tech Setup option doesnt show in the
regular apps, only on the native tablet (which is running an OEM version of
Android). I have seen the battery warnings come up before in the Zones tab
on the apps but theyre all showing normally at the moment.
…On Sat, 27 Aug 2022 at 16:58, Mitch Williams ***@***.***> wrote:
Yes, I did mean the feature M zone - I will look out for future updates if
youre able to get this included.
I will talk with Ung Sing and we will look into adding it as one of the
future updates :) should not be a hard one to implement.
I've gone into the tech setup on my AA panel to check the sensors and its
reporting all is OK, as per the photo below, as is the zones tab of the app
so not sure where the battery warning is coming from.
I am not terribly familiar with that Advantage Air UI design, is that the
‘zone10e’ that you have? If not, which app is it that you are using?
I have just pulled the battery out of one of my sensors to show you. For
my temperature sensors, it will show here:
[image: E8A5505A-56DC-4BC9-8DFB-0FB5004B338F]
<https://user-images.githubusercontent.com/40288237/187018930-71c9e964-6f63-4f2d-99df-153a5d3609f8.jpeg>
You can always swap the batteries around to be sure; it can take up to
15mins for the Advantage Air controller to recognise the new battery I have
found. Otherwise we will have to try figure out what is going wrong for
these two temperature sensors for you!
—
Reply to this email directly, view it on GitHub
<#70 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A2RODLY3HZXFLX5X7FUF5ODV3G4BXANCNFSM56UQCGDQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@QLDRiddler yep that makes sense, same for my 'e-zone' app in terms of what can accessed on the phone app vs the master control tablet; I just took my screenshot from my phone as it was easier for uploading a photo to GitHub. What I need to know to work out if we still need to help out the two temperature sensors is the following:
|
Closing this issue due to the latest version released covering all the work completed to get HOOBS working. Please continue to comment @QLDRiddler if you need further help with those temperature sensors or feel free to open another issue :) |
Thanks Mitch, I’m actually away this week so won’t get a chance to play until next weekend. However I did realise last night that turning zones on and off in the Apple Home app had no effect on the actual system. Suspecting this may have something to do with all the testing and changes we’ve made so when I do get back home I plan to uninstall everything and start from scratch with the new production version.
…________________________________
From: Mitch Williams ***@***.***>
Sent: Sunday, August 28, 2022 6:52:29 PM
To: mitch7391/homebridge-cmd4-AdvantageAir ***@***.***>
Cc: QLDRiddler ***@***.***>; Mention ***@***.***>
Subject: Re: [mitch7391/homebridge-cmd4-AdvantageAir] [Support] HOOBS Installation Issue (Issue #70)
Closing this issue due to the latest version released covering all the work completed to get HOOBS working. Please continue to comment @QLDRiddler<https://github.com/QLDRiddler> if you need further help with those temperature sensors or feel free to open another issue :)
—
Reply to this email directly, view it on GitHub<#70 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/A2RODL5MT4WEG4MKJHPHJB3V3MSE3ANCNFSM56UQCGDQ>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
No worries @QLDRiddler, it sounds like something is still not set right then. Please open a new issue if you face any problems and we will try our best to help you out. |
Hi Mitch, thanks for developing this plugin, just what I am looking for. However, getting stuck at the first hurdle! I'm trying to install on my Hoobs setup, I've already downloaded and installed the CMD4 plugin and then installed the AdvantageAir one.
I accessed the Terminal and followed the instructions but when I enter $config, I get an error messgae back stating
ERROR: either your AdvantageAir system is inacessible or your IP address /var/lib/hoobs/cmd4bridge/node_modules/homebridge-cmd4-advantageair/ConfigCreator.sh is invalid!
- I thought this step was mean to ask for the ip address of my AA system? What am I doing wrong?The text was updated successfully, but these errors were encountered: