homebridge-shelly
homebridge-shelly copied to clipboard
[Feature request] H&T on external power
Shelly H&T has changed Batteryvalue with Firmware 1.11
Connected to external Power it is now set to -1%.
@NorbertM21 Can you run homebridge-shelly describe <ip-address>
with the IP address of your H&T (wake up the device first) and then post the output here?
Type: SHHT-1 CoAP description: {"blk":[{"I":1,"D":"sensor_0"},{"I":2,"D":"device"}],"sen":[{"I":9103,"T":"EVC","D":"cfgChanged","R":"U16","L":2},{"I":3101,"T":"T","D":"extTemp","U":"C","R":["-55/125","999"],"L":1},{"I":3102,"T":"T","D":"extTemp","U":"F","R":["-67/257","999"],"L":1},{"I":3103,"T":"H","D":"humidity","R":["0/100","999"],"L":1},{"I":3115,"T":"S","D":"sensorError","R":"0/1","L":1},{"I":3111,"T":"B","D":"battery","R":["0/100","-1"],"L":2},{"I":9102,"T":"EV","D":"wakeupEvent","R":["battery/button/periodic/poweron/sensor/alarm","unknown"],"L":2}]} CoAP status: {"G":[[0,9103,0],[0,3101,25],[0,3102,77],[0,3103,55.5],[0,3115,0],[0,3111,-1],[0,9102,["periodic"]]]} HTTP Settings:: {"device":{"type":"SHHT-1","mac":"98F4ABB893E5","hostname":"shellyht-B893E5","sleep_mode":true},"wifi_ap":{"enabled":false,"ssid":"shellyht-B893E5","key":""},"wifi_sta":{"enabled":true,"ssid":"Andreo","ipv4_method":"static","ip":"192.168.178.30","gw":"192.168.178.1","mask":"255.255.255.0","dns":null},"wifi_sta1":{"enabled":false,"ssid":null,"ipv4_method":"dhcp","ip":null,"gw":null,"mask":null,"dns":null},"mqtt":{"enable":false,"server":"192.168.33.3:1883","user":"","id":"shellyht-B893E5","reconnect_timeout_max":60,"reconnect_timeout_min":2,"clean_session":true,"keep_alive":60,"max_qos":0,"retain":false,"update_period":30},"coiot":{"enabled":true,"update_period":15,"peer":""},"sntp":{"server":"time.google.com","enabled":true},"login":{"enabled":false,"unprotected":false,"username":"admin"},"pin_code":"5c!VST","name":"Shelly HT1","fw":"20210723-154419/v1.11.1-gc2e1500","discoverable":false,"build_info":{"build_id":"20210723-154419/v1.11.1-gc2e1500","build_timestamp":"2021-07-23T15:44:19Z","build_version":"1.0"},"cloud":{"enabled":true,"connected":true},"timezone":"Europe/Berlin","lat":52.34,"lng":9.67,"tzautodetect":false,"tz_utc_offset":7200,"tz_dst":true,"tz_dst_auto":true,"time":"16:10","unixtime":1628172613,"debug_enable":false,"allow_cross_origin":false,"actions":{"active":false,"names":["report_url","temp_over_url","temp_under_url","hum_over_url","hum_under_url"]},"sensors":{"temperature_threshold":0.7,"temperature_unit":"C","humidity_threshold":0},"sleep_mode":{"period":10,"unit":"m"},"external_power":1,"temperature_offset":-0.5,"humidity_offset":-7.5} HTTP Status:: {"wifi_sta":{"connected":true,"ssid":"","ip":"192.168.178.30","rssi":-60},"cloud":{"enabled":true,"connected":true},"mqtt":{"connected":false},"time":"16:10","unixtime":1628172613,"serial":2,"has_update":false,"mac":"98F4ABB893E5","cfg_changed_cnt":0,"actions_stats":{"skipped":0},"is_valid":true,"tmp":{"value":25,"units":"C","tC":25,"tF":77,"is_valid":true},"hum":{"value":55.5,"is_valid":true},"bat":{"value":-1,"voltage":2.93},"act_reasons":["periodic"],"connect_retries":0,"update":{"status":"unknown","has_update":false,"new_version":"","old_version":"20210723-154419/v1.11.1-gc2e1500"},"ram_total":51536,"ram_free":40356,"fs_size":233681,"fs_free":153110,"uptime":12}
Shelly H&T has changed Batteryvalue with Firmware 1.11. I am also connected to external Power and always get apple homekit warning of Low Battery.
I've now released version 0.19.0 that will set the battery level to 100% when running on an external power supply.
I've now released version 0.19.0 that will set the battery level to 100% when running on an external power supply.
Hi alexryd. Just updated to 0.19.0 version but still got the low battery warning on apple homekit. When I go into Shelly H&T settings (in Homekit) each sensor (T & RH) has a 0% battery level. In Shelly app event log, in each measure of T and RH, shows battery level in -1% (minus one percent)
Works now perfect here. Thanks Alex :-)
Is there any configuration possible to define at what level the plugin notify HomeKit about low battery? This applies to all battery powered devices such as H&T, Flood, DW2, Motion, TRV Is this characteristic somehow adjustable?