Closed eleventhaus closed 1 month ago
Yes, the sensor can be created in Ensemble - Enpower or Solar section
I have the following sensors created in the plugin config: Enpower Grid On, Enpower Grid Off, Enpower Multimode On, Enpower Multimode Off
https://github.com/user-attachments/assets/9d50d8fb-ceab-4a0c-a222-22c388af82fb
This is what my homekit looks like:
This is what my enphase portal looks like:
If I have Enpower Grid On active as a sensor in the plugin config, why is it off in Homekit?
Will the Grid On sensor not work with my system because I have solar and storage? Should I only use multimode grid then?
Yes, You need use multimode-grid on or off sensor for Your purpose.
Thought everything was working well but this morning I noted that although my system is on the grid and everthing is working as expected, all of the sensors I created in homekit using the plugin are reading as closed or off
These are all enpower sensors
Can you get me debug log, go to plugin settings advanced settings>>system>>debug enable it and restart plugin then after a while download and post the log file.
(removed config log)
Should be fixed in 8.0.2, try and let me know
You can also try beta 9.0.0, here is added support for Homebridge 2.0 and new sensor profiles to select , Grid Tied
and Grid Forming
Just to confirm:
in release v8.1.1 fixed display and publish ensemble status. Also fixed encharge and solar grid mode sensors, please update and get me the debug please
Updated to 8.1.1
I see the new light switches for each profile (full-backup, self-consumption, savings). I'm currently on Self-consumption but the light switch shows as off on homekit.
(removed config log)
Encharge profile are in experimental phase and not working yet, please disable it in plugin config Ensemble>>Encharge>>Profile
I'm not sure the Grid Tied/Forming or Multimode sensors can be used to indicate if the utility is online or offline.
In my case, Grid Tied shows as off/Multimode shows as on when my system starts using battery power regardless of utility grid status. When utility grid is off none of the indicators reflect that.
I need a sensor that will indicate when the ultility is down. Is that possible?
I Don’t have ensemble in my system, Please post debug log if grid is off, also if grid is on
HI @eleventhaus in latest 9.0 beta im added empower grid state sensor which represent Grid ON/OFF state, please try it and let mi know.
I updated to the latest beta and I'm getting the following error: "Device: 192.168.107.60 Envoy, Start error: Requesting ensemble inventory error: ReferenceError: enpwrGridMode is not defined., trying again in 15s."
(removed config log)
fixed, beta 132 added also Enpower Grid State control enable it in enpower section
Fixed the last error.
New error: "Device: 192.168.107.60 Envoy, Start error: Requesting ensemble status error: TypeError: parseFloat is not a function., trying again in 15s."
(removed config log)
try 134
I'm on 135. I added the Grid State Control as a switch and Grid State Sensor as a contact sensor but not seeing them on homekit.
I noted that the plugin recommends updating to HB 2.0. Wondering if that's why it isn't working for me.
(removed config log)
136 fixed
On 141
Still not seeing the Grid State Control ~or Grid State Sensor~ in homekit
Also, getting these non-critical errors on homebridge:
[08/08/2024, 16:07:01] [homebridge-enphase-envoy] This plugin generated a warning from the characteristic 'Rest power': characteristic value expected valid finite number and received "NaN" (number). See https://homebridge.io/w/JtMGR for more info.
[08/08/2024, 16:07:15] [homebridge-enphase-envoy] This plugin generated a warning from the characteristic 'Rest power': characteristic value expected valid finite number and received "NaN" (number). See https://homebridge.io/w/JtMGR for more info.
[08/08/2024, 16:07:30] [homebridge-enphase-envoy] This plugin generated a warning from the characteristic 'Rest power': characteristic value expected valid finite number and received "NaN" (number). See https://homebridge.io/w/JtMGR for more info.
[08/08/2024, 16:07:45] [homebridge-enphase-envoy] This plugin generated a warning from the characteristic 'Rest power': characteristic value expected valid finite number and received "NaN" (number). See https://homebridge.io/w/JtMGR for more info.
[08/08/2024, 16:08:00] [homebridge-enphase-envoy] This plugin generated a warning from the characteristic 'Rest power': characteristic value expected valid finite number and received "NaN" (number). See https://homebridge.io/w/JtMGR for more info.
[08/08/2024, 16:08:15] [homebridge-enphase-envoy] This plugin generated a warning from the characteristic 'Rest power': characteristic value expected valid finite number and received "NaN" (number). See https://homebridge.io/w/JtMGR for more info.
[08/08/2024, 16:08:30] [homebridge-enphase-envoy] This plugin generated a warning from the characteristic 'Rest power': characteristic value expected valid finite number and received "NaN" (number). See https://homebridge.io/w/JtMGR for more info.
[08/08/2024, 16:08:45] [homebridge-enphase-envoy] This plugin generated a warning from the characteristic 'Rest power': characteristic value expected valid finite number and received "NaN" (number). See https://homebridge.io/w/JtMGR for more info.
[08/08/2024, 16:09:00] [homebridge-enphase-envoy] This plugin generated a warning from the characteristic 'Rest power': characteristic value expected valid finite number and received "NaN" (number). See https://homebridge.io/w/JtMGR for more info.
[08/08/2024, 16:09:15] [homebridge-enphase-envoy] This plugin generated a warning from the characteristic 'Rest power': characteristic value expected valid finite number and received "NaN" (number). See https://homebridge.io/w/JtMGR for more info.
(removed config log)
Edit: I am seeing the Grid Sensor State (utility status indicator) now and I tested it and it works 🎉 but not seeing the Grid State Control (utility control switch)
thanks for your patience, the control grid is fixed in 142, please test it and let me know with log
please post in this topic #144
Geting error:
[10/08/2024, 09:23:14] [homebridge-enphase-envoy] Device: 192.168.107.60 Envoy, Start error: Requesting ensemble status error: TypeError: Cannot set properties of undefined (setting 'status')., trying again in 15s.
(removed config log)
ok, try 196
v202
[10/08/2024, 18:28:45] [homebridge-enphase-envoy] Device: 192.168.107.60 Envoy, Start error: Requesting ensemble dry contacts error: AxiosError: Request failed with status code 404., trying again in 15s.
(removed config log)
203 fixes the wrong url to dry contacts
On 203
[10/08/2024, 22:20:58] [homebridge-enphase-envoy] Device: 192.168.107.60 Envoy, Start error: Requesting ensemble dry contacts error: AxiosError: Request failed with status code 404., trying again in 15s.
(removed config log)
fixed in 204
[10/08/2024, 22:41:16] [homebridge-enphase-envoy] Device: 192.168.107.60 Envoy, Start error: Prepare accessory error: Error: Cannot add a Characteristic with the same UUID as another Characteristic in this Service: 00000254-000B-1000-8000-0026BB765291, trying again in 15s.
(removed config log)
fixed in 205
plese post debug also if working correct
On 206
Homekit sensors are finally working and showing correct status.
Getting the following error:
[10/08/2024, 23:29:34] [homebridge-enphase-envoy] Device: 192.168.107.60 Envoy, Update ensemble error: Requesting ensemble encharge settings. error: TypeError: Cannot read properties of undefined (reading 'mode')..
(removed config log)
208 ready
v 241
[11/08/2024, 08:02:57] [homebridge-enphase-envoy] Device: 192.168.107.60 Envoy, Start error: Requesting ensemble status error: TypeError: Cannot read properties of undefined (reading 'forEach')., trying again in 15s.
(removed config log)
Fixed in 243
243
[11/08/2024, 08:12:14] [homebridge-enphase-envoy] Device: 192.168.107.60 Envoy, Start error: Requesting ensemble status error: TypeError: Cannot read properties of undefined (reading 'gridProfile')., trying again in 15s.
(removed config log)
Fixed 245
[11/08/2024, 08:24:07] [homebridge-enphase-envoy] Device: 192.168.107.60 Envoy, Start error: Requesting dry contacts error: ReferenceError: date is not defined., trying again in 15s.
(removed config log)
Fixed 247
[11/08/2024, 08:47:38] [homebridge-enphase-envoy] Device: 192.168.107.60 Envoy, Start error: Prepare accessory error: TypeError: Cannot read properties of undefined (reading 'type'), trying again in 15s.
(removed config log)
Fixed 248
No critical errors and homekit is working ✅😌
Thank you!
(removed config log)
i have fixed some warnings, try 251 and post the log please
270
[11/08/2024, 17:39:10] [homebridge-enphase-envoy] Device: 192.168.107.60 Envoy, Start error: Requesting ensemble status error: TypeError: Cannot set properties of undefined (setting 'status')., trying again in 15s.
(removed config log)
fixed 271
289
[12/08/2024, 08:35:10] [homebridge-enphase-envoy] Device: 192.168.107.60 Envoy, Start error: Requesting tariff. error: TypeError: Cannot read properties of undefined (reading 'code')., trying again in 15s.
(removed config log)
Fixed typo 290 ready
Not seeing 290 on the version list for the plugin
On the enphase web portal and on the enphase app, there is a indicator for the local municipal grid.
Is there a way to expose this indicator in the plugin as a sensor which reflects the status of the municipal grid?
A sensor would make it easy to create shortcuts using homekit in iOS, where a certain set of actions could be run if the local grid goes down.