homebridge-edomoticz Plugin

Moderator: leecollings

User avatar
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

Post by Marci »

@deejc, @Nautilus, @Jem101 - your devices should now be supported...
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!
Jem101
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

Post by Jem101 »

And as if by magic, they now do!

And returns the humidity values in % and also the battery low state.

Many thanks for fixing this for me and the other users with similar issues.

John
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
User avatar
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

Post by Marci »

*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!
Nautilus
Posts: 722
Joined: Friday 02 October 2015 12:12
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Finland
Contact:

Re: eDomoticz Homebridge-Plugin

Post by Nautilus »

Marci wrote:@deejc, @Nautilus, @Jem101 - your devices should now be supported...
Thanks, I can now see all my temprature sensor and humidity sensort as well :) However, for some reason the power / consumption meters are not coming up anymore (they were available before I did the update). Also, this is probably because of my noobness in the Homekit area, but I wasn't able to come up with a method to update the iOS Eve-app without resetting the Homekit configuration. Eve couldn't connect to the accessories anymore after the update and I was not able to add any accessories. After the reset I was again able to add Homebridge as a new accessory, but in the process I lost of course rooms, Siri names etc... Is this expected in updates like this or could I have prevented it somehow?
User avatar
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

Post by Marci »

No way to preserve at the moment. The Homebridge developers are working on this at the moment.

Post the json output for your power / consumption sensors as a new issue over on GitHub pls.
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!
Nautilus
Posts: 722
Joined: Friday 02 October 2015 12:12
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Finland
Contact:

Re: eDomoticz Homebridge-Plugin

Post by Nautilus »

Marci wrote:No way to preserve at the moment. The Homebridge developers are working on this at the moment.

Post the json output for your power / consumption sensors as a new issue over on GitHub pls.
Ok, thanks for the info. Then it is better not to invest too much time on those just yet :)

I posted a new issue with the energy meter json output. It's a virtual meter that gets data from PVoutput service (where I load it from a CurrentCost EnviR meter). Not that important for my personal use to have it in Homekit, but something I noted that was different from the previous version.

Thanks again for this great Homebridge plugin! :D
User avatar
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

Post by deejc »

All good here, cheers


Sent from my iPhone using Tapatalk
Domoticz 3.5641 on RPI (Raspbian GNU/Linux 8)
User avatar
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

Post by Marci »

I posted a new issue with the energy meter json output. It's a virtual meter that gets data from PVoutput service (where I load it from a CurrentCost EnviR meter). Not that important for my personal use to have it in Homekit, but something I noted that was different from the previous version.
Had a quick glance over this - nothing I can immediately spot that would be stopping it from working (plus I use exactly the same setup for my own electricity meter, and it's all coming through without issue). Will have a ponder tonight...!
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!
Nautilus
Posts: 722
Joined: Friday 02 October 2015 12:12
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Finland
Contact:

Re: eDomoticz Homebridge-Plugin

Post by Nautilus »

Marci wrote: Had a quick glance over this - nothing I can immediately spot that would be stopping it from working (plus I use exactly the same setup for my own electricity meter, and it's all coming through without issue). Will have a ponder tonight...!
Ok, interesting. And as mentioned it was showing up fine before the latest update so I also thought there probably should not be any specific reason for it not to work after the update. Maybe I'll just need to restart the Homebridge if e.g. for some reason the PVoutput devices were "unreachable" or something like that when I started it the last time? I'll check it again later in the evening...
User avatar
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

Post by deejc »

i think i know the answer but i want to be sure, In the Home.app it shows "Custom" 3 times for the current consumption, total consumption and consumption today, But in Eve it shows the correct labels,so i assume this is a limitation of the app and not the plugin ?
cheers for the great work on this plugin, you rock!

im now keeping a close eye out for the part where you get the bridge to update the apps in real time from Domoticz ;)
Domoticz 3.5641 on RPI (Raspbian GNU/Linux 8)
User avatar
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

Post by Marci »

Yup... down to the app. Eve show them as their app is written to allow custom sensors completely as many of their own devices all use custom types. Home.app is strictly HomeKit spec compliant only... but provides the FULL HomeKit spec (ie: triggers) as well as today widgets.

There isn't a perfect one-for-all HomeKit app yet.. but Home & Eve give you the most complete feature set between them.

I do all my setup in home.app, then use Eve as the main operating / viewing app due to the improved eyecandy.

Unless I'm out of the house. Eve tends not to work from over the web via appletv... Home.app does (but it's today widget doesn't).

And both only seem to actually allow scenes to work if you have Bluetooth on. Turn Bluetooth off and scenes no longer work. HomeKit is... er... quirky!
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!
terrarium
Posts: 12
Joined: Monday 16 December 2013 13:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: eDomoticz Homebridge-Plugin

Post by terrarium »

Hi,

Succesfully installed eDomoticz Homebridge-Plugin.

Eve or Insteon will not succesfully connect. I have a lot of accessories.
I have come across https://github.com/nfarina/homebridge/issues/509

If i remove

Code: Select all

"description": "Configuration file for (e)xtended Domoticz platform.",
    "platforms": [
        {
            "platform": "eDomoticz",
            "name": "eDomoticz",
            "server": "127.0.0.1",
            "port": "85"

        }
    ],
    "accessories": []
}

from config.json i can successfully connect to Homebridge via Eve or Insteon+ . So the number of accessories are preventing connection.

Is there a way to fix this?

Cheers.
User avatar
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

Post by Marci »

That’s the config for the legacy platform plugin. (Not even sure where you got that from - I removed it from the other post and deleted it’s repo from github a week ago!)

You need to delete eDomoticz.js from homebridge-legacy-plugins/ if it exists and install the fully fledged homebridge plugin via the instructions in the original post of this thread. A valid config.json example can be found on the frontpage of the github repo

And define ‘a lot of devices’ - that issue references specifically 100+. You can get your total device count from the Devices page of the Domoticz web interface.
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!
User avatar
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

Post by Marci »

Ok, interesting. And as mentioned it was showing up fine before the latest update so I also thought there probably should not be any specific reason for it not to work after the update. Maybe I'll just need to restart the Homebridge if e.g. for some reason the PVoutput devices were "unreachable" or something like that when I started it the last time? I'll check it again later in the evening...
For reference - this issue was resolved - the Sensor Types for the updated Power Service in Eve.app were set to hidden... always worth checking that if a new sensor type doesn’t appear.
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!
terrarium
Posts: 12
Joined: Monday 16 December 2013 13:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: eDomoticz Homebridge-Plugin

Post by terrarium »

Marci wrote:That’s the config for the legacy platform plugin. (Not even sure where you got that from - I removed it from the other post and deleted it’s repo from github a week ago!)

You need to delete eDomoticz.js from homebridge-legacy-plugins/ if it exists and install the fully fledged homebridge plugin via the instructions in the original post of this thread. A valid config.json example can be found on the frontpage of the github repo

And define ‘a lot of devices’ - that issue references specifically 100+. You can get your total device count from the Devices page of the Domoticz web interface.
A lot means 196 devices. I used the latest Domoticz image so there is no legacy plugin. I have followed the instructions and have used the config.json file from the frontpage. I have adjusted that file so it did not load the platfrom section. When i do that Eve will connect to Homebridge but obviously there are no accessories.
terrarium
Posts: 12
Joined: Monday 16 December 2013 13:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: eDomoticz Homebridge-Plugin

Post by terrarium »

terrarium wrote:
Marci wrote:That’s the config for the legacy platform plugin. (Not even sure where you got that from - I removed it from the other post and deleted it’s repo from github a week ago!)

You need to delete eDomoticz.js from homebridge-legacy-plugins/ if it exists and install the fully fledged homebridge plugin via the instructions in the original post of this thread. A valid config.json example can be found on the frontpage of the github repo

And define ‘a lot of devices’ - that issue references specifically 100+. You can get your total device count from the Devices page of the Domoticz web interface.
A lot means 196 devices. I used the latest Domoticz image so there is no legacy plugin. I have followed the instructions and have used the config.json file from the frontpage. I have adjusted that file so it did not load the platfrom section. When i do that Eve will connect to Homebridge but obviously there are no accessories.

I made a backup off Domoticz database. Deleted so many devices until less than 100. Now Eve and Insteon+ can connect. I guess more people with +100 devices will run into this issue.

Thanks for your reply.
User avatar
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

Post by deejc »

do you need to see 196 devices in homekit ?
make a roomplan, add in the devices you do need and then you wont have that problem..
Domoticz 3.5641 on RPI (Raspbian GNU/Linux 8)
terrarium
Posts: 12
Joined: Monday 16 December 2013 13:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: eDomoticz Homebridge-Plugin

Post by terrarium »

deejc wrote:do you need to see 196 devices in homekit ?
make a roomplan, add in the devices you do need and then you wont have that problem..
Thanks.
That's a great suggestion. I was working with the default settings just to try eDomoticz out. Did not think of it.
Cheers.
Nautilus
Posts: 722
Joined: Friday 02 October 2015 12:12
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Finland
Contact:

Re: eDomoticz Homebridge-Plugin

Post by Nautilus »

Marci wrote:For reference - this issue was resolved - the Sensor Types for the updated Power Service in Eve.app were set to hidden... always worth checking that if a new sensor type doesn’t appear.
Yes, forgot to re-activate those after resetting the Homekit configuration :oops:

Todays energy is showing up also for me now, thanks again!
User avatar
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

Post by deejc »

Marci wrote: Unless I'm out of the house. Eve tends not to work from over the web via appletv... Home.app does (but it's today widget doesn't).
My widget seems to work out of the house, i have a ATV4
it takes a while to connect the first time i use it but it does work.

Eve works away from home too, again, it takes a while to connect tho.

Just tested both on 4G, alright, technically im not away from home as i am sitting on the sofa on 4G but its seems a valid test :D and i have tested it outside away form home
Domoticz 3.5641 on RPI (Raspbian GNU/Linux 8)
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests