shelly-homekit icon indicating copy to clipboard operation
shelly-homekit copied to clipboard

improve power meter

Open timoschilling opened this issue 2 years ago • 6 comments

timoschilling avatar Jan 20 '23 23:01 timoschilling

Here is a pre-release build with the changes from this PR. Would be cool to get some feedback. Note: From my point of view the Eve app is rounding current power consumption to an int value, in other HomeKit apps I can see float values with this firmware.

shelly-homekit-ShellyPlus1PM.zip shelly-homekit-ShellyPlugS.zip shelly-homekit-ShellyPlug.zip shelly-homekit-Shelly25.zip shelly-homekit-Shelly1PM.zip

Please leave a note if I missed a device with power management.

// cc rs38

timoschilling avatar Jan 21 '23 20:01 timoschilling

I use a an app "HomeDash" and the led living room lights "consumption" reports 26w not reporting any KwH. Before your update HomeDash did not report consumption figure for shelly modules. Ran the Eve app it also reports "consumption" 26w with no KwH total reported

Not sure if this is relevant I put in place a Firewall rule to block all IoT devices from contacting the Internet, If I look at the firewall log I see many of my devices attempting to contact an NTP server.

On Sat, 21 Jan 2023 at 20:21, Timo Schilling @.***> wrote:

Here is a pre-release build with the changes from this PR. Would be cool to get some feedback. Note: From my point of view the Eve app is rounding current power consumption to an int value, in other HomeKit apps I can see float values with this firmware.

shelly-homekit-ShellyPlus1PM.zip https://github.com/mongoose-os-apps/shelly-homekit/files/10472965/shelly-homekit-ShellyPlus1PM.zip shelly-homekit-ShellyPlugS.zip https://github.com/mongoose-os-apps/shelly-homekit/files/10472967/shelly-homekit-ShellyPlugS.zip shelly-homekit-ShellyPlug.zip https://github.com/mongoose-os-apps/shelly-homekit/files/10472968/shelly-homekit-ShellyPlug.zip shelly-homekit-Shelly25.zip https://github.com/mongoose-os-apps/shelly-homekit/files/10472969/shelly-homekit-Shelly25.zip shelly-homekit-Shelly1PM.zip https://github.com/mongoose-os-apps/shelly-homekit/files/10472970/shelly-homekit-Shelly1PM.zip

Please leave a note if I missed a device with power management.

// cc rs38 https://github.com/rs38

— Reply to this email directly, view it on GitHub https://github.com/mongoose-os-apps/shelly-homekit/pull/1197#issuecomment-1399325802, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARF3VCCP2L6HN5IOWS4CS3TWTRAMRANCNFSM6AAAAAAUCB2A6M . You are receiving this because you are subscribed to this thread.Message ID: @.***>

5xPa avatar Jan 22 '23 09:01 5xPa

@5xPa what Shelly do you use?

timoschilling avatar Jan 22 '23 11:01 timoschilling

Shelly 2.5 System Model: Shelly25 Device ID: shellyswitch25-001A83 Host: LivRoomLights.local Uptime: 0:15:05:59 Temperature: 54°C Debug Log: Log http://192.168.0.176/debug/log?follow=1

On Sun, 22 Jan 2023 at 11:03, Timo Schilling @.***> wrote:

@5xPa https://github.com/5xPa what Shelly do you use?

— Reply to this email directly, view it on GitHub https://github.com/mongoose-os-apps/shelly-homekit/pull/1197#issuecomment-1399454967, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARF3VCETHFQQDPFWRGUUHN3WTUHYRANCNFSM6AAAAAAUCB2A6M . You are receiving this because you were mentioned.Message ID: @.***>

5xPa avatar Jan 22 '23 11:01 5xPa

sorry for answering so late,

your provided prereleases has the same version as the old Version:2.11.2 that was a bit confusing. After a 2nd try it updates to Build:20230119-205815/2.11.2-17-gf6ac761-master

the local UI now shows 1 decimal but the HK or Eve still show an Integer. IOS 16.3 HK shortcut same as #1194 (Eve however always shows integers)

rs38 avatar Feb 04 '23 09:02 rs38

Test with a LED lamp dimmable 0-8W:

should also add that in my case the consumption shown in the local UI (of a LED lamp dimmable 0-6W) is obviously skipping all decimals other than x.1 and x.0 and the original shelly firmware shows kind of random fake or "noise" decimals and the internal resolution of the sensor is obviously only ~1W. Therefor is simply makes no sense for more than an integer.

rs38 avatar Feb 04 '23 10:02 rs38