Giter Site home page Giter Site logo

Comments (6)

PatchworkBoy avatar PatchworkBoy commented on May 31, 2024

If FQDN resolves correctly on the device running homebridge-edomoticz, change the “server” field in config.json to the FQDN instead of the IP?

However... the proper approach: presuming we’re talking master branch, head to your homebridge-edomoticz folder and...

sudo mv index.js index.bak
sudo wget https://raw.githubusercontent.com/PatchworkBoy/homebridge-edomoticz/SSL-rejectUnauthorized/index.js

If using mqtt-integration branch...

sudo mv index.js index.bak
sudo wget https://raw.githubusercontent.com/PatchworkBoy/homebridge-edomoticz/MQTT-SSL-rejectUnauthorized/index.js

Either way, test n’ let me know!

from homebridge-edomoticz.

derekhardwick avatar derekhardwick commented on May 31, 2024

Thanks for the quick help. So replacing the file half-worked, homebridge now starts up properly and tries to load the domoticz platform / accessories (further than it got before)

[Wed Sep 07 2016 15:06:12 GMT+0200 (CEST)] Loading 1 platforms...
[Wed Sep 07 2016 15:06:12 GMT+0200 (CEST)] [eDomoticz] Initializing eDomoticz platform...
[Wed Sep 07 2016 15:06:12 GMT+0200 (CEST)] [eDomoticz] Fetching Domoticz lights and switches...
[Wed Sep 07 2016 15:06:12 GMT+0200 (CEST)] Loading 0 accessories...
[Wed Sep 07 2016 15:06:12 GMT+0200 (CEST)] [eDomoticz] Initializing platform accessory 'Dining Room'...
[Wed Sep 07 2016 15:06:12 GMT+0200 (CEST)] [eDomoticz] Initializing platform accessory 'Front Door'...
[Wed Sep 07 2016 15:06:12 GMT+0200 (CEST)] [eDomoticz] Initializing platform accessory 'Hall Switch upstairs'...
[Wed Sep 07 2016 15:06:12 GMT+0200 (CEST)] [eDomoticz] Initializing platform accessory 'Living Room'...
Scan this code with your HomeKit App on your iOS device to pair with Homebridge:

But when I try to use a client app like Eve I get this in the logs:

[Wed Sep 07 2016 15:04:44 GMT+0200 (CEST)] [eDomoticz] There was a problem connecting to Domoticz.

from homebridge-edomoticz.

PatchworkBoy avatar PatchworkBoy commented on May 31, 2024

Yep... s'what I expected to happen, but confirms the headers are correct now, so I just need to make those headers the default for all queries and that'll be it sorted.

M

On 7 Sep 2016, at 14:10, derekhardwick [email protected] wrote:

Thanks for the quick help. So replacing the file half-worked, homebridge now starts up properly and tries to load the domoticz platform / accessories (further than it got before)

[Wed Sep 07 2016 15:06:12 GMT+0200 (CEST)] Loading 1 platforms...
[Wed Sep 07 2016 15:06:12 GMT+0200 (CEST)] [eDomoticz] Initializing eDomoticz platform...
[Wed Sep 07 2016 15:06:12 GMT+0200 (CEST)] [eDomoticz] Fetching Domoticz lights and switches...
[Wed Sep 07 2016 15:06:12 GMT+0200 (CEST)] Loading 0 accessories...
[Wed Sep 07 2016 15:06:12 GMT+0200 (CEST)] [eDomoticz] Initializing platform accessory 'Dining Room'...
[Wed Sep 07 2016 15:06:12 GMT+0200 (CEST)] [eDomoticz] Initializing platform accessory 'Front Door'...
[Wed Sep 07 2016 15:06:12 GMT+0200 (CEST)] [eDomoticz] Initializing platform accessory 'Hall Switch upstairs'...
[Wed Sep 07 2016 15:06:12 GMT+0200 (CEST)] [eDomoticz] Initializing platform accessory 'Living Room'...
Scan this code with your HomeKit App on your iOS device to pair with Homebridge:
But when I try to use a client app like Eve I get this in the logs:

` [Wed Sep 07 2016 15:04:44 GMT+0200 (CEST)] [eDomoticz] There was a problem connecting to Domoticz.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

from homebridge-edomoticz.

derekhardwick avatar derekhardwick commented on May 31, 2024

Awesome. Even without SSL I also had difficulty with user auth, but I didn't fight with that one too much. I'll screw with that later and post a separate bug if I didn't miss something obvious.

Thanks!

from homebridge-edomoticz.

PatchworkBoy avatar PatchworkBoy commented on May 31, 2024

Righty - repeat instructions from my previous post above, restart homebridge, give it another try n’ let me know!

Auth gets interesting due to Domoticz and it’s options to exclude ip ranges from auth, which appears to function as and when it feels like it...

from homebridge-edomoticz.

derekhardwick avatar derekhardwick commented on May 31, 2024

Worked like a charm.

from homebridge-edomoticz.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.