Comments (4)
i'm running witch v1.3.4 and it works. so there is no general problem. please show the homebridge log.
from homebridge-fhem.
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)
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.
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.
So 2 month later...
Is this a Homebridge bug or a homebridge-fhem plugin bug?
from homebridge-fhem.
Related Issues (20)
- Different names for multiple switches (subtypes)? HOT 3
- warning from the characteristic 'Saturation' HOT 17
- Installation procedure failure (version 0.5.29) HOT 2
- Configuration gets lost after docker container restart HOT 7
- Homebridge-fhem Problem mit fhem Zugriff. HOT 4
- No reconnect after FHEM Server restart HOT 2
- Thermostat's dont't work anymore HOT 3
- longpoll error HOT 13
- No response with Mac OS Monterey HOT 1
- Status der Geräte updated nach einiger Zeit nicht mehr HOT 2
- This plugin slows down Homebridge. The read handler for the characteristic 'Current Relative Humidity' was slow to respond HOT 1
- Homebridge sometimes does not start with homebridge-fhem plugin active HOT 8
- Plugin settings in Homebridge UI overwrite manually created configuration HOT 3
- Option to reduce log output HOT 1
- Device state update is not working HOT 14
- For ProgrammableSwitchEvent the nocache=1 dosent work HOT 6
- History Type Energy not working HOT 1
- HMCCU-Geräte werden bei best. Konstellationen vergessen und später als neue Geräte wieder hinzugefügt HOT 1
- Thermostat übergeben OHNE Cooling/AUTO Funktion HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebridge-fhem.