Giter Club home page Giter Club logo

Comments (4)

justme-1968 avatar justme-1968 commented on June 26, 2024

i'm running witch v1.3.4 and it works. so there is no general problem. please show the homebridge log.

from homebridge-fhem.

emcepe avatar emcepe commented on June 26, 2024

Hi justme,

there's nothing special in the homebridge log. Adding the bridge stops at a random accessory.

After some hours of trial & error I found out that these outlet configs in FHEM will brick homebridge:

please see attached picture (I don't know how to properly paste that here on github so it stays readable)

(list FHEM device)

If I add something like this to the outlet config (I use this for HmIP-PSM), Homekit will add the Bridge and everything is online:

history:size=1024
OutletInUse=6.POWER,threshold=1
E863F126-079E-48FF-8F27-9C2605A29F52=6.CURRENT,name=Current,format=FLOAT,factor=0.001
E863F10D-079E-48FF-8F27-9C2605A29F52=6.POWER,name=Power,format=FLOAT
E863F10C-079E-48FF-8F27-9C2605A29F52=6.ENERGY_COUNTER,name=Energy,format=FLOAT,factor=0.001

that won't make any sense for that PEHA PHC outlets because they do not have any measurement features like the ones from Homematic.

log without the homebridgemapping option set:
[6/30/2021, 3:58:02 PM] [FHEM] PHC_SD_EG_Hauswand_aussen_Steckdosen is outlet
[6/30/2021, 3:58:02 PM] [FHEM] PHC_SD_EG_Hauswand_aussen_Steckdosen has
2021-06-30 15:58:02 caching: PHC_SD_EG_Hauswand_aussen_Steckdosen-state: off
[6/30/2021, 3:58:03 PM] Initializing platform accessory 'PHC_SD_EG_Hauswand_aussen_Steckdosen'...
[6/30/2021, 3:58:03 PM] [FHEM] creating services for PHC_SD_EG_Hauswand_aussen_Steckdosen
[6/30/2021, 3:58:03 PM] [FHEM] information service for PHC_SD_EG_Hauswand_aussen_Steckdosen
[6/30/2021, 3:58:03 PM] [FHEM] manufacturer, model and serial number characteristics for PHC_SD_EG_Hauswand_aussen_Steckdosen
[6/30/2021, 3:58:03 PM] [FHEM] name (siriName) characteristic for PHC_SD_EG_Hauswand_aussen_Steckdosen
[6/30/2021, 3:58:03 PM] [FHEM] Outlet service for PHC_SD_EG_Hauswand_aussen_Steckdosen
[6/30/2021, 3:58:03 PM] [FHEM] On characteristic for PHC_SD_EG_Hauswand_aussen_Steckdosen:state
[6/30/2021, 3:58:04 PM] [FHEM] query: On for PHC_SD_EG_Hauswand_aussen_Steckdosen-state

log with the homebridgemapping option set:
[6/30/2021, 4:01:15 PM] Initializing platform accessory 'PHC_SD_EG_Hauswand_aussen_Steckdosen'...
[6/30/2021, 4:01:15 PM] [FHEM] creating services for PHC_SD_EG_Hauswand_aussen_Steckdosen
[6/30/2021, 4:01:15 PM] [FHEM] information service for PHC_SD_EG_Hauswand_aussen_Steckdosen
[6/30/2021, 4:01:15 PM] [FHEM] manufacturer, model and serial number characteristics for PHC_SD_EG_Hauswand_aussen_Steckdosen
[6/30/2021, 4:01:15 PM] [FHEM] name (siriName) characteristic for PHC_SD_EG_Hauswand_aussen_Steckdosen
[6/30/2021, 4:01:15 PM] [FHEM] Outlet service for PHC_SD_EG_Hauswand_aussen_Steckdosen
[6/30/2021, 4:01:15 PM] [FHEM] On characteristic for PHC_SD_EG_Hauswand_aussen_Steckdosen:state
[6/30/2021, 4:01:15 PM] [FHEM] OutletInUse characteristic for PHC_SD_EG_Hauswand_aussen_Steckdosen:6.POWER
[6/30/2021, 4:01:15 PM] [FHEM] Custom Current characteristic for PHC_SD_EG_Hauswand_aussen_Steckdosen:6.CURRENT
[6/30/2021, 4:01:15 PM] [FHEM] Custom Power characteristic for PHC_SD_EG_Hauswand_aussen_Steckdosen:6.POWER
[6/30/2021, 4:01:15 PM] [FHEM] Custom Energy characteristic for PHC_SD_EG_Hauswand_aussen_Steckdosen:6.ENERGY_COUNTER
[6/30/2021, 4:01:17 PM] [FHEM] query: On for PHC_SD_EG_Hauswand_aussen_Steckdosen-state
[6/30/2021, 4:01:17 PM] [FHEM] query: OutletInUse for PHC_SD_EG_Hauswand_aussen_Steckdosen-6.POWER
[6/30/2021, 4:01:17 PM] [FHEM] executing: http://127.0.0.1:8083/fhem?cmd=%7BReadingsVal(%22PHC_SD_EG_Hauswand_aussen_Steckdosen%22,%226.POWER%22,%22%22)%7D&XHR=1
[6/30/2021, 4:01:17 PM] [FHEM] query: Custom Current for PHC_SD_EG_Hauswand_aussen_Steckdosen-6.CURRENT
[6/30/2021, 4:01:17 PM] [FHEM] executing: http://127.0.0.1:8083/fhem?cmd=%7BReadingsVal(%22PHC_SD_EG_Hauswand_aussen_Steckdosen%22,%226.CURRENT%22,%22%22)%7D&XHR=1
[6/30/2021, 4:01:17 PM] [FHEM] query: Custom Power for PHC_SD_EG_Hauswand_aussen_Steckdosen-6.POWER
[6/30/2021, 4:01:17 PM] [FHEM] executing: http://127.0.0.1:8083/fhem?cmd=%7BReadingsVal(%22PHC_SD_EG_Hauswand_aussen_Steckdosen%22,%226.POWER%22,%22%22)%7D&XHR=1
[6/30/2021, 4:01:17 PM] [FHEM] query: Custom Energy for PHC_SD_EG_Hauswand_aussen_Steckdosen-6.ENERGY_COUNTER
[6/30/2021, 4:01:17 PM] [FHEM] executing: http://127.0.0.1:8083/fhem?cmd=%7BReadingsVal(%22PHC_SD_EG_Hauswand_aussen_Steckdosen%22,%226.ENERGY_COUNTER%22,%22%22)%7D&XHR=1
2021-06-30 16:01:17 caching: PHC_SD_EG_Hauswand_aussen_Steckdosen-6.ENERGY_COUNTER:
[6/30/2021, 4:01:17 PM] [FHEM] PHC_SD_EG_Hauswand_aussen_Steckdosen-6.ENERGY_COUNTER not a number:
[6/30/2021, 4:01:17 PM] [FHEM] PHC_SD_EG_Hauswand_aussen_Steckdosen-6.ENERGY_COUNTER not a number:
2021-06-30 16:01:17 caching: PHC_SD_EG_Hauswand_aussen_Steckdosen-6.POWER:
[6/30/2021, 4:01:17 PM] [FHEM] PHC_SD_EG_Hauswand_aussen_Steckdosen-6.POWER not a number:
[6/30/2021, 4:01:17 PM] [FHEM] PHC_SD_EG_Hauswand_aussen_Steckdosen-6.POWER not a number:
2021-06-30 16:01:17 caching: PHC_SD_EG_Hauswand_aussen_Steckdosen-6.CURRENT:
[6/30/2021, 4:01:17 PM] [FHEM] PHC_SD_EG_Hauswand_aussen_Steckdosen-6.CURRENT not a number:
[6/30/2021, 4:01:17 PM] [FHEM] PHC_SD_EG_Hauswand_aussen_Steckdosen-6.CURRENT not a number:

from homebridge-fhem.

emcepe avatar emcepe commented on June 26, 2024

It would be really nice if someone can fix that issue so HomeKit will show the correct icon for power outlets instead of a simple switch icon. That worked perfectly with Homebridge <= 1.2.5.

thank you!

from homebridge-fhem.

emcepe avatar emcepe commented on June 26, 2024

So 2 month later...

Is this a Homebridge bug or a homebridge-fhem plugin bug?

from homebridge-fhem.

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.