Shell script which sends relevant commands, Domoticz virtual switch which calls the script... but that's a Domoticz general thang rather than eDomoticz plugin thang. eDomoticz will handle whatever switches you setup in Domoticz.steppi wrote: My AVR can be connected via telnet and precise commands ..
Do you have any idea?
thank you! Hello!!
homebridge-edomoticz Plugin
Moderator: leecollings
- Marci
- Posts: 531
- Joined: Friday 22 January 2016 18:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.8153
- Location: Wakefield, West Yorkshire UK
- Contact:
eDomoticz Homebridge-Plugin
Extended Domoticz homebridge-plugin for latest Homebridge - adds temp/humidity/pressure sensors, power consumption sensors, DarkSkies virtual weather station support, YouLess Meter support, general % usage support & switch/lamp status checking!
-
- Posts: 3
- Joined: Tuesday 01 December 2015 13:53
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2.3530
- Location: USA
- Contact:
Re: eDomoticz Homebridge-Plugin
I have a Homekit deadbolt installed, Schlage Sense. Would I be able to use this plugin to get the status of the deadbolt locked / unlocked into domoticz? The way this all reads is that devices in domoticz can be made available in Homekit. I need it to go the other way and get the status of my deadbolt in domoticz.
thanks!
thanks!
- Marci
- Posts: 531
- Joined: Friday 22 January 2016 18:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.8153
- Location: Wakefield, West Yorkshire UK
- Contact:
Re: eDomoticz Homebridge-Plugin
Nope... ‘fraid not, sorry! You need to ask the Domoticz devs to write support into Domoticz for it, or work out how to access it without using home kit (e.g.: http query over wifi, bluetooth query).
Extended Domoticz homebridge-plugin for latest Homebridge - adds temp/humidity/pressure sensors, power consumption sensors, DarkSkies virtual weather station support, YouLess Meter support, general % usage support & switch/lamp status checking!
-
- Posts: 135
- Joined: Monday 27 January 2014 14:12
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Netherlands
- Contact:
Re: eDomoticz Homebridge-Plugin
Thank you for the updated eDomoticz Homebridge plugin. However when I follow the installation guide and copy the configuration file I get the following:
Code: Select all
pi@domoticzpi ~/homebridge $ sudo npm ls -g homebridge
/usr/local/lib
└── (empty)
npm ERR! code 1
Raspberry Pi Type B
Raspberry Pi Type B2
RFXCOMtrx433e
Raspberry Pi Type B2
RFXCOMtrx433e
- deejc
- Posts: 168
- Joined: Tuesday 22 September 2015 18:50
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.5641
- Location: UK
- Contact:
Re: eDomoticz Homebridge-Plugin
updated to the plugin version, removed the legacy plugin but it seems to no longer respect the "Room" entry in the config.json again.
i also have a youless meter in Domoticz but it does not seem to show that in the Home App..
i also have a youless meter in Domoticz but it does not seem to show that in the Home App..
Domoticz 3.5641 on RPI (Raspbian GNU/Linux 8)
-
- Posts: 66
- Joined: Saturday 02 May 2015 21:26
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Bexleyheath, SE London, UK
- Contact:
Re: eDomoticz Homebridge-Plugin
I can second that, it's now loading all devices rather than just those defined in the room ID.
Also another odd thing, I have a couple of thermometer/humidity sensors in various rooms. In the older legacy version, these appeared as 'dimmer-type' devices where the actual temperature figure (in deg. C) was given but as a percentage - a bit annoying but not too bad.
With this version though I'm seeing the sensors shown as a simple On/Off button with no actual values being returned. The same with my electricity consumption meter which didn't show up before but now does, but as a simple On/Off button.
Is there something I need to edit in any Config to get these working properly?
Also another odd thing, I have a couple of thermometer/humidity sensors in various rooms. In the older legacy version, these appeared as 'dimmer-type' devices where the actual temperature figure (in deg. C) was given but as a percentage - a bit annoying but not too bad.
With this version though I'm seeing the sensors shown as a simple On/Off button with no actual values being returned. The same with my electricity consumption meter which didn't show up before but now does, but as a simple On/Off button.
Is there something I need to edit in any Config to get these working properly?
I firmly believe in having an open mind - although not so open that your brain falls out!
- sometimes attributed to Carl Sagan, but the original quote is much older than that
- sometimes attributed to Carl Sagan, but the original quote is much older than that
-
- Posts: 722
- Joined: Friday 02 October 2015 12:12
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Finland
- Contact:
Re: eDomoticz Homebridge-Plugin
Just updated the Homebridge (I was still running the old version without plugins) and changed from legacy Domoticz to eDomoticz. Everything looked fine at first but I also noticed that only pure Temp sensors show an actual temperature value, Temp/Hum sensrors (which I have a majority off) show as type other (plug) on/off. It would be very nice to see these as temp (and why not also hum) devices with a value availableJem101 wrote:I have a couple of thermometer/humidity sensors in various rooms. In the older legacy version, these appeared as 'dimmer-type' devices where the actual temperature figure (in deg. C) was given but as a percentage - a bit annoying but not too bad.
With this version though I'm seeing the sensors shown as a simple On/Off button with no actual values being returned.
I can also confirm that roomid does not seem to result in any restriction of loaded devices. I was wondering why Eve iOS app did not want to pair with the bridge and learned that there is a limit of 100 devices per bridge (though some source said that a bridge can connect to another bridge). So I tried to limit the number of Domoticz devices with roomid but that did not work. Then after removing other platforms I was finally able to run it All in all, a very good improvement for the legacy plugin, it is nice to see the actual value in Eve + other device types as well. Thanks a lot!
- Marci
- Posts: 531
- Joined: Friday 22 January 2016 18:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.8153
- Location: Wakefield, West Yorkshire UK
- Contact:
eDomoticz Homebridge-Plugin
If you can hit your temp/hum sensors via json.htm, then Open a new issue over on the GitHub repo including the output from the json api, I’ll get round to it at somepoint! In meantime, supported Domoticz sensor types are listed in the OP.
https://www.domoticz.com/wiki/Domoticz_ ... fic_device
https://www.domoticz.com/wiki/Domoticz_ ... fic_device
Last edited by Marci on Tuesday 02 February 2016 18:19, edited 3 times in total.
Extended Domoticz homebridge-plugin for latest Homebridge - adds temp/humidity/pressure sensors, power consumption sensors, DarkSkies virtual weather station support, YouLess Meter support, general % usage support & switch/lamp status checking!
- Marci
- Posts: 531
- Joined: Friday 22 January 2016 18:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.8153
- Location: Wakefield, West Yorkshire UK
- Contact:
eDomoticz Homebridge-Plugin
Only works with latest Homebridge, not the version on the Domoticz RPi SD card image - you need to install Homebridge via npm...Heisenberg wrote:Thank you for the updated eDomoticz Homebridge plugin. However when I follow the installation guide and copy the configuration file I get the following:
Code: Select all
pi@domoticzpi ~/homebridge $ sudo npm ls -g homebridge /usr/local/lib └── (empty) npm ERR! code 1
Install latest homebridge from npm if you don’t already have it...Code: Select all
sudo npm install -g homebridge
Last edited by Marci on Tuesday 02 February 2016 18:22, edited 2 times in total.
Extended Domoticz homebridge-plugin for latest Homebridge - adds temp/humidity/pressure sensors, power consumption sensors, DarkSkies virtual weather station support, YouLess Meter support, general % usage support & switch/lamp status checking!
- Marci
- Posts: 531
- Joined: Friday 22 January 2016 18:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.8153
- Location: Wakefield, West Yorkshire UK
- Contact:
eDomoticz Homebridge-Plugin
Haven't written support for Youless as don't have one. Get me the json for it - see https://www.domoticz.com/wiki/Domoticz_ ... fic_device - then Open a new issue over on the GitHub repo including the output from the json api, I’ll get round to it at somepoint! In meantime, supported Domoticz sensor types are listed in the OP.deejc wrote:updated to the plugin version, removed the legacy plugin but it seems to no longer respect the "Room" entry in the config.json again.
i also have a youless meter in Domoticz but it does not seem to show that in the Home App..
Room thang - will fix again... Soz! Fixed.
Last edited by Marci on Tuesday 02 February 2016 18:25, edited 3 times in total.
Extended Domoticz homebridge-plugin for latest Homebridge - adds temp/humidity/pressure sensors, power consumption sensors, DarkSkies virtual weather station support, YouLess Meter support, general % usage support & switch/lamp status checking!
- Marci
- Posts: 531
- Joined: Friday 22 January 2016 18:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.8153
- Location: Wakefield, West Yorkshire UK
- Contact:
eDomoticz Homebridge-Plugin
Your elec sensor doesn't fall under Type: General, SubType: kWh in Domoticz, therefore won't display. I'd need json.htm output for it to add support, then Open a new issue over on the GitHub repo including the output from the json api, I’ll get round to it at somepoint! In meantime, supported Domoticz sensor types are listed in the OP.Jem101 wrote:
With this version though I'm seeing the sensors shown as a simple On/The same with my electricity consumption meter which didn't show up before but now does, but as a simple On/Off button.
Is there something I need to edit in any Config to get these working properly?
See https://www.domoticz.com/wiki/Domoticz_ ... fic_device
Last edited by Marci on Tuesday 02 February 2016 18:28, edited 2 times in total.
Extended Domoticz homebridge-plugin for latest Homebridge - adds temp/humidity/pressure sensors, power consumption sensors, DarkSkies virtual weather station support, YouLess Meter support, general % usage support & switch/lamp status checking!
- Marci
- Posts: 531
- Joined: Friday 22 January 2016 18:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.8153
- Location: Wakefield, West Yorkshire UK
- Contact:
Re: eDomoticz Homebridge-Plugin
Room thang - fixed! Grab index.js from the git repo (link in sig) and overwrite the one in /usr/local/lib/node_modules/homebridge-eDomoticz/ then clear persist and restart homebridge. Sorry about that!
Extended Domoticz homebridge-plugin for latest Homebridge - adds temp/humidity/pressure sensors, power consumption sensors, DarkSkies virtual weather station support, YouLess Meter support, general % usage support & switch/lamp status checking!
-
- Posts: 135
- Joined: Monday 27 January 2014 14:12
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Netherlands
- Contact:
Re: eDomoticz Homebridge-Plugin
If I install the latest homebridge I run into this error. What should I do?Install latest homebridge from npm if you don’t already have it...Code: Select all
sudo npm install -g homebridge
Code: Select all
pi@domoticzpi ~ $ sudo npm install -g homebridge
npm ERR! addLocal Could not install /tmp/npm-4885-f389f5b0/git-cache-8f8e52588e4 9/2a8f1303712c6b6f10eaf49c80f6db7ef21e4336
npm ERR! Linux 4.1.13-v7+
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "homebridge"
npm ERR! node v0.12.6
npm ERR! npm v2.11.2
npm ERR! No version provided in package.json
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>
npm ERR! Please include the following file with any support request:
npm ERR! /home/pi/npm-debug.log
Raspberry Pi Type B
Raspberry Pi Type B2
RFXCOMtrx433e
Raspberry Pi Type B2
RFXCOMtrx433e
- Marci
- Posts: 531
- Joined: Friday 22 January 2016 18:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.8153
- Location: Wakefield, West Yorkshire UK
- Contact:
eDomoticz Homebridge-Plugin
Good question... Try:
...first to update node, npm and the rest of your base packages, then try again.
Otherwise - copy / paste your error as a new issue over at https://GitHub.com/nfarina/homebridge ... Errors installing Homebridge itself are beyond my scope I'm afraid.
Code: Select all
sudo apt-get update && sudo apt-get upgrade
Otherwise - copy / paste your error as a new issue over at https://GitHub.com/nfarina/homebridge ... Errors installing Homebridge itself are beyond my scope I'm afraid.
Extended Domoticz homebridge-plugin for latest Homebridge - adds temp/humidity/pressure sensors, power consumption sensors, DarkSkies virtual weather station support, YouLess Meter support, general % usage support & switch/lamp status checking!
-
- Posts: 10
- Joined: Monday 01 February 2016 21:45
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: eDomoticz Homebridge-Plugin
After updating the system:
sudo apt-get update && sudo apt-get upgrade
and updating homebridge:
sudo npm install -g homebridge
[email protected] /usr/local/lib/node_modules/homebridge
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected])
└── [email protected] ([email protected], [email protected], [email protected])
(did this update work?)
and installing eDomiticz:
sudo npm install -g patchworkboy/homebridge-eDomoticz
[email protected] /usr/local/lib/node_modules/homebridge-eDomoticz
├── [email protected]
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
I still don't have an eDomotics.js in the homebridge/platforms folder.
What did I do wrong?
sudo apt-get update && sudo apt-get upgrade
and updating homebridge:
sudo npm install -g homebridge
[email protected] /usr/local/lib/node_modules/homebridge
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected])
└── [email protected] ([email protected], [email protected], [email protected])
(did this update work?)
and installing eDomiticz:
sudo npm install -g patchworkboy/homebridge-eDomoticz
[email protected] /usr/local/lib/node_modules/homebridge-eDomoticz
├── [email protected]
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
I still don't have an eDomotics.js in the homebridge/platforms folder.
What did I do wrong?
- deejc
- Posts: 168
- Joined: Tuesday 22 September 2015 18:50
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.5641
- Location: UK
- Contact:
Re: eDomoticz Homebridge-Plugin
DoneMarci wrote:Open a new issue over on the GitHub repo including the output from the json api
Thanks.. looking good againMarci wrote:Room thang - will fix again... Soz! Fixed.
Domoticz 3.5641 on RPI (Raspbian GNU/Linux 8)
- Marci
- Posts: 531
- Joined: Friday 22 January 2016 18:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.8153
- Location: Wakefield, West Yorkshire UK
- Contact:
Re: eDomoticz Homebridge-Plugin
*thumbs up*
Extended Domoticz homebridge-plugin for latest Homebridge - adds temp/humidity/pressure sensors, power consumption sensors, DarkSkies virtual weather station support, YouLess Meter support, general % usage support & switch/lamp status checking!
- Marci
- Posts: 531
- Joined: Friday 22 January 2016 18:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.8153
- Location: Wakefield, West Yorkshire UK
- Contact:
eDomoticz Homebridge-Plugin
You're looking in the old install in your home folder at a guess. Ignore that folder.batso wrote: I still don't have an eDomotics.js in the homebridge/platforms folder.
What did I do wrong?
It's in /usr/local/lib/node_modules/homebridge-eDomoticz
Leave it there.
Code: Select all
cd ~/.homebridge
Start / stop / restart with:
Code: Select all
forever start /usr/local/lib/node_modules/homebridge/bin/homebridge
See the link in OP to running at boot up for instructions on installing forever.
You can tail it's output by...
Code: Select all
cd ~/.forever
ls -lt
Code: Select all
tail -f ~/.forever/xxxx.log
Extended Domoticz homebridge-plugin for latest Homebridge - adds temp/humidity/pressure sensors, power consumption sensors, DarkSkies virtual weather station support, YouLess Meter support, general % usage support & switch/lamp status checking!
-
- Posts: 10
- Joined: Monday 01 February 2016 21:45
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: eDomoticz Homebridge-Plugin
I don't have a dot-homebridge-folder atMarci wrote: You're looking in the old install in your home folder at a guess. Ignore that folder.
It's in /usr/local/lib/node_modules/homebridge-eDomoticz
Leave it there.
(Note the dot). This is where config.json goes and where you should find your persist folder.Code: Select all
cd ~/.homebridge
Code: Select all
cd ~/.homebridge
Code: Select all
cd ~/homebridge
Code: Select all
/usr/local/lib/node_modules/homebridge/
either
- Marci
- Posts: 531
- Joined: Friday 22 January 2016 18:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.8153
- Location: Wakefield, West Yorkshire UK
- Contact:
Re: eDomoticz Homebridge-Plugin
You will only see the .homebridge folder if you do ls -ltra - the . prefix means it’s a hidden folder. Completely ignore ~/homebridge and stop mentioning it - it’s irrelevant to the newer version and just confuses the issue - just forget that folder exists for now.
The .homebridge folder will only be automatically created when you first run the new install of homebridge, at which point it will error and die after prompting you to create a config.json file.
Or, you can just...
...to create it manually, then put your config.json file in there.
Make sure you don't run forever with sudo... if you do that, the .homebridge folder will be created in /root rather than ~/
Go to the new homebridge install folder, and show me what’s there... if there’s no bin folder, then homebridge didn’t install.
The .homebridge folder will only be automatically created when you first run the new install of homebridge, at which point it will error and die after prompting you to create a config.json file.
Or, you can just...
Code: Select all
mkdir ~/.homebridge
Make sure you don't run forever with sudo... if you do that, the .homebridge folder will be created in /root rather than ~/
Go to the new homebridge install folder, and show me what’s there... if there’s no bin folder, then homebridge didn’t install.
Code: Select all
pi@rasprf /usr/local/lib/node_modules/homebridge $ ls
bin config-sample.json lib LICENSE node_modules package.json persist README.md
Last edited by Marci on Wednesday 03 February 2016 19:44, edited 1 time in total.
Extended Domoticz homebridge-plugin for latest Homebridge - adds temp/humidity/pressure sensors, power consumption sensors, DarkSkies virtual weather station support, YouLess Meter support, general % usage support & switch/lamp status checking!
Who is online
Users browsing this forum: No registered users and 1 guest