home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
71.16k stars 29.85k forks source link

Ecowitt Integration #78055

Closed Mandrake1967 closed 1 year ago

Mandrake1967 commented 2 years ago

The problem

Missing sensor - leaf wetness sensor data

What version of Home Assistant Core has the issue?

22.9

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

No response

Link to integration documentation on our website

https://www.home-assistant.io/integrations/ecowitt/

Diagnostics information

2022-09-09 09:10:39.058 WARNING (MainThread) [aioecowitt.server] Unhandled sensor type leafwetness_ch1 value 93 2022-09-09 09:10:39.066 WARNING (MainThread) [aioecowitt.server] Unhandled sensor type leaf_batt1 value 1.72 2022-09-09 09:11:40.134 WARNING (MainThread) [aioecowitt.server] Unhandled sensor type leafwetness_ch1 value 93 2022-09-09 09:11:40.141 WARNING (MainThread) [aioecowitt.server] Unhandled sensor type leaf_batt1 value 1.72 2022-09-09 09:12:41.077 WARNING (MainThread) [aioecowitt.server] Unhandled sensor type leafwetness_ch1 value 93 2022-09-09 09:12:41.086 WARNING (MainThread) [aioecowitt.server] Unhandled sensor type leaf_batt1 value 1.72 2022-09-09 09:13:42.089 WARNING (MainThread) [aioecowitt.server] Unhandled sensor type leafwetness_ch1 value 93

{ "home_assistant": { "installation_type": "Home Assistant OS", "version": "2022.9.2", "dev": false, "hassio": true, "virtualenv": false, "python_version": "3.10.5", "docker": true, "arch": "aarch64", "timezone": "Europe/London", "os_name": "Linux", "os_version": "5.15.32-v8", "supervisor": "2022.08.6", "host_os": "Home Assistant OS 8.5", "docker_version": "20.10.14", "chassis": "embedded", "run_as_root": true }, "custom_components": { "electrolux_status": { "version": "1.2.0", "requirements": [ "pyelectroluxconnect==0.3.3" ] }, "dwains_dashboard": { "version": "3.2.0", "requirements": [] }, "eufy_security": { "version": "2.7.0", "requirements": [ "websocket-client==1.1.0" ] }, "hildebrandglow_dcc": { "version": "0.6.0", "requirements": [] }, "hacs": { "version": "1.27.2", "requirements": [ "aiogithubapi>=22.2.4" ] }, "asusrouter": { "version": "0.8.0", "requirements": [ "asusrouter==0.9.1" ] }, "tapo_control": { "version": "3.7.0", "requirements": [ "pytapo==2.3", "onvif-zeep-async==1.2.0" ] }, "broadlink_s1c": { "version": "1.0.0", "requirements": [] }, "govee": { "version": "0.2.2", "requirements": [ "govee-api-laggat==0.2.2", "dacite==1.6.0" ] }, "samsungtv_encrypted": { "version": "2022.3.1", "requirements": [ "wakeonlan>=1.1.6", "beautifulsoup4>=4.6.0", "netdisco>=2.8.3" ] }, "webrtc": { "version": "v2.3.1", "requirements": [] } }, "integration_manifest": { "domain": "ecowitt", "name": "Ecowitt", "config_flow": true, "documentation": "https://www.home-assistant.io/integrations/ecowitt", "dependencies": [ "webhook" ], "requirements": [ "aioecowitt==2022.09.1" ], "codeowners": [ "@pvizeli" ], "iot_class": "local_push", "is_built_in": true }, "data": { "device": { "name": "GW2000A_V2.1.8", "model": "GW2000A", "frequency": "868M", "version": "119" }, "raw": { "__type": "<class 'multidict._multidict.MultiDictProxy'>", "repr": "<MultiDictProxy('PASSKEY': '44C68C1525F682F3E85DD6E9E1B85112', 'stationtype': 'GW2000A_V2.1.8', 'runtime': '7692', 'dateutc': '2022-09-12 08:01:26', 'tempinf': '75.02', 'humidityin': '61', 'baromrelin': '29.743', 'baromabsin': '29.743', 'tempf': '67.28', 'humidity': '87', 'winddir': '12', 'windspeedmph': '4.70', 'windgustmph': '4.92', 'maxdailygust': '9.39', 'solarradiation': '173.95', 'uv': '1', 'rainratein': '0.000', 'eventrainin': '0.000', 'hourlyrainin': '0.000', 'dailyrainin': '0.000', 'weeklyrainin': '0.000', 'monthlyrainin': '3.827', 'yearlyrainin': '14.075', 'totalrainin': '14.075', 'rrain_piezo': '0.000', 'erain_piezo': '0.000', 'hrain_piezo': '0.000', 'drain_piezo': '0.000', 'wrain_piezo': '0.000', 'mrain_piezo': '2.843', 'yrain_piezo': '14.398', 'ws90cap_volt': '3.3', 'ws90_ver': '119', 'temp1f': '-3.64', 'humidity1': '57', 'temp2f': '64.94', 'humidity2': '77', 'temp3f': '72.86', 'humidity3': '66', 'temp4f': '72.68', 'humidity4': '69', 'temp5f': '72.32', 'humidity5': '67', 'temp6f': '73.04', 'humidity6': '72', 'temp7f': '69.98', 'humidity7': '67', 'temp8f': '64.22', 'humidity8': '77', 'soilmoisture1': '27', 'soilmoisture2': '16', 'soilmoisture3': '47', 'soilmoisture4': '48', 'soilmoisture5': '47', 'soilmoisture6': '26', 'pm25_ch1': '7.0', 'pm25_avg_24h_ch1': '8.7', 'tf_co2': '70.52', 'humi_co2': '65', 'pm25_co2': '1.7', 'pm25_24h_co2': '2.0', 'pm10_co2': '1.7', 'pm10_24h_co2': '2.4', 'co2': '596', 'co2_24h': '603', 'lightning_num': '0', 'lightning': '37', 'lightning_time': '1662632990', 'tf_ch2': '63.32', 'tf_ch3': '71.96', 'leafwetness_ch1': '4', 'wh65batt': '0', 'wh26batt': '0', 'batt1': '0', 'batt2': '0', 'batt3': '0', 'batt4': '0', 'batt5': '0', 'batt6': '0', 'batt7': '0', 'batt8': '0', 'soilbatt1': '1.4', 'soilbatt2': '1.4', 'soilbatt3': '1.6', 'soilbatt4': '1.7', 'soilbatt5': '1.7', 'soilbatt6': '1.7', 'pm25batt1': '4', 'wh57batt': '5', 'tf_batt2': '1.24', 'tf_batt3': '1.24', 'co2_batt': '6', 'leaf_batt1': '1.72', 'wh90batt': '3.28', 'freq': '868M', 'model': 'GW2000A')>" }, "sensors": { "runtime": "7692", "dateutc": "2022-09-12 08:01:26", "tempinf": 75.02, "humidityin": 61, "baromrelin": 29.743, "baromabsin": 29.743, "tempf": 67.28, "humidity": 87, "winddir": 12, "windspeedmph": 4.7, "windgustmph": 4.92, "maxdailygust": 9.39, "solarradiation": 173.95, "uv": 1, "rainratein": 0.0, "eventrainin": 0.0, "hourlyrainin": 0.0, "dailyrainin": 0.0, "weeklyrainin": 0.0, "monthlyrainin": 3.827, "yearlyrainin": 14.075, "totalrainin": 14.075, "rrain_piezo": 0.0, "erain_piezo": 0.0, "hrain_piezo": 0.0, "drain_piezo": 0.0, "wrain_piezo": 0.0, "mrain_piezo": 2.843, "yrain_piezo": 14.398, "ws90cap_volt": 3.3, "temp1f": -3.64, "humidity1": 57, "temp2f": 64.94, "humidity2": 77, "temp3f": 72.86, "humidity3": 66, "temp4f": 72.68, "humidity4": 69, "temp5f": 72.32, "humidity5": 67, "temp6f": 73.04, "humidity6": 72, "temp7f": 69.98, "humidity7": 67, "temp8f": 64.22, "humidity8": 77, "soilmoisture1": 27, "soilmoisture2": 16, "soilmoisture3": 47, "soilmoisture4": 48, "soilmoisture5": 47, "soilmoisture6": 26, "pm25_ch1": 7.0, "pm25_avg_24h_ch1": 8.7, "tf_co2": 70.52, "humi_co2": 65, "pm25_co2": 1.7, "pm25_24h_co2": 2.0, "pm10_co2": 1.7, "pm10_24h_co2": "2.4", "co2": 596, "co2_24h": 603, "lightning_num": 0, "lightning": 37, "lightning_time": "2022-09-08T10:29:50+00:00", "tf_ch2": 63.32, "tf_ch3": 71.96, "wh65batt": 0.0, "wh26batt": 0.0, "batt1": 0.0, "batt2": 0.0, "batt3": 0.0, "batt4": 0.0, "batt5": 0.0, "batt6": 0.0, "batt7": 0.0, "batt8": 0.0, "soilbatt1": 1.4, "soilbatt2": 1.4, "soilbatt3": 1.6, "soilbatt4": 1.7, "soilbatt5": 1.7, "soilbatt6": 1.7, "pm25batt1": 80, "wh57batt": 100, "tf_batt2": 1.24, "tf_batt3": 1.24, "co2_batt": 120, "wh90batt": 3.28, "solarradiation_lux": 22019.0, "lightning_mi": 23, "tempc": 19.6, "tempinc": 23.9, "tf_co2c": 21.4, "tf_ch2c": 17.4, "tf_ch3c": 22.2, "temp1c": -19.8, "temp2c": 18.3, "temp3c": 22.7, "temp4c": 22.6, "temp5c": 22.4, "temp6c": 22.8, "temp7c": 21.1, "temp8c": 17.9, "windspeedkmh": 7.6, "windgustkmh": 7.9, "maxdailygustkmh": 15.1, "rainratemm": 0.0, "eventrainmm": 0.0, "hourlyrainmm": 0.0, "dailyrainmm": 0.0, "weeklyrainmm": 0.0, "monthlyrainmm": 97.2, "yearlyrainmm": 357.5, "totalrainmm": 357.5, "rrain_piezomm": 0.0, "erain_piezomm": 0.0, "hrain_piezomm": 0.0, "drain_piezomm": 0.0, "wrain_piezomm": 0.0, "mrain_piezomm": 72.2, "yrain_piezomm": 365.7, "baromrelhpa": 1007.1, "baromabshpa": 1007.1, "windchillf": null, "windchillc": null, "dewpointc": 17.4, "dewpointf": 63.3, "dewpointinc": 15.9, "dewpointinf": 60.7, "dewpoint1c": -26.2, "dewpoint1f": -15.1, "dewpoint2c": 14.2, "dewpoint2f": 57.6, "dewpoint3c": 16.0, "dewpoint3f": 60.8, "dewpoint4c": 16.6, "dewpoint4f": 61.9, "dewpoint5c": 16.0, "dewpoint5f": 60.8, "dewpoint6c": 17.5, "dewpoint6f": 63.5, "dewpoint7c": 14.7, "dewpoint7f": 58.5, "dewpoint8c": 13.8, "dewpoint8f": 56.9, "tempfeelsf": 67.3, "tempfeelsc": 19.6 } } }

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

Anto79-ops commented 2 years ago

@Mandrake1967

if you update your issue and place this:

https://www.home-assistant.io/integrations/ecowitt/

in the "Link to integration documentation on our website"

the developer will get pinged immediately by the bot.

By the way, perhaps a separate issue, but if the FW gets updated, do the entities change names? this could be an issue later.

probot-home-assistant[bot] commented 2 years ago

ecowitt documentation ecowitt source (message by IssueLinks)

probot-home-assistant[bot] commented 2 years ago

Hey there @pvizeli, mind taking a look at this issue as it has been labeled with an integration (ecowitt) you are listed as a code owner for? Thanks! (message by CodeOwnersMention)

pvizeli commented 2 years ago

Post the diagnostic and I can look next or over next week into

Mandrake1967 commented 2 years ago

Updated info in ticket

pvizeli commented 2 years ago

I need the diagnostic from the integration, otherwise no way for me to add it

Mandrake1967 commented 2 years ago

I cannot post the diagnostic dump as for some reason for this integration when I try it fails to download.

Just for the record: Here is the list of issues...

  1. Cannot produce diagnostic data from integration
  2. Leaf wetness sensor is not supported
  3. Device names seem linked to firmware version which will change when firmware updated thus breaking HA
  4. request from the community to extract gateway uptime value from the data as an Entity
Anto79-ops commented 2 years ago

@pvizeli might want to check @bachya 's code at ecowitt2mqtt.

It has Uptime and leaf wetness sensor, and perhaps the other requests.

Mandrake1967 commented 2 years ago

Diagnostic data (data dump now works after 22.9.2) Leaf wetness entity still missing

{ "home_assistant": { "installation_type": "Home Assistant OS", "version": "2022.9.2", "dev": false, "hassio": true, "virtualenv": false, "python_version": "3.10.5", "docker": true, "arch": "aarch64", "timezone": "Europe/London", "os_name": "Linux", "os_version": "5.15.32-v8", "supervisor": "2022.08.6", "host_os": "Home Assistant OS 8.5", "docker_version": "20.10.14", "chassis": "embedded", "run_as_root": true }, "custom_components": { "electrolux_status": { "version": "1.2.0", "requirements": [ "pyelectroluxconnect==0.3.3" ] }, "dwains_dashboard": { "version": "3.2.0", "requirements": [] }, "eufy_security": { "version": "2.7.0", "requirements": [ "websocket-client==1.1.0" ] }, "hildebrandglow_dcc": { "version": "0.6.0", "requirements": [] }, "hacs": { "version": "1.27.2", "requirements": [ "aiogithubapi>=22.2.4" ] }, "asusrouter": { "version": "0.8.0", "requirements": [ "asusrouter==0.9.1" ] }, "tapo_control": { "version": "3.7.0", "requirements": [ "pytapo==2.3", "onvif-zeep-async==1.2.0" ] }, "broadlink_s1c": { "version": "1.0.0", "requirements": [] }, "govee": { "version": "0.2.2", "requirements": [ "govee-api-laggat==0.2.2", "dacite==1.6.0" ] }, "samsungtv_encrypted": { "version": "2022.3.1", "requirements": [ "wakeonlan>=1.1.6", "beautifulsoup4>=4.6.0", "netdisco>=2.8.3" ] }, "webrtc": { "version": "v2.3.1", "requirements": [] } }, "integration_manifest": { "domain": "ecowitt", "name": "Ecowitt", "config_flow": true, "documentation": "https://www.home-assistant.io/integrations/ecowitt", "dependencies": [ "webhook" ], "requirements": [ "aioecowitt==2022.09.1" ], "codeowners": [ "@pvizeli" ], "iot_class": "local_push", "is_built_in": true }, "data": { "device": { "name": "GW2000A_V2.1.8", "model": "GW2000A", "frequency": "868M", "version": "119" }, "raw": { "__type": "<class 'multidict._multidict.MultiDictProxy'>", "repr": "<MultiDictProxy('PASSKEY': '44C68C1525F682F3E85DD6E9E1B85112', 'stationtype': 'GW2000A_V2.1.8', 'runtime': '7692', 'dateutc': '2022-09-12 08:01:26', 'tempinf': '75.02', 'humidityin': '61', 'baromrelin': '29.743', 'baromabsin': '29.743', 'tempf': '67.28', 'humidity': '87', 'winddir': '12', 'windspeedmph': '4.70', 'windgustmph': '4.92', 'maxdailygust': '9.39', 'solarradiation': '173.95', 'uv': '1', 'rainratein': '0.000', 'eventrainin': '0.000', 'hourlyrainin': '0.000', 'dailyrainin': '0.000', 'weeklyrainin': '0.000', 'monthlyrainin': '3.827', 'yearlyrainin': '14.075', 'totalrainin': '14.075', 'rrain_piezo': '0.000', 'erain_piezo': '0.000', 'hrain_piezo': '0.000', 'drain_piezo': '0.000', 'wrain_piezo': '0.000', 'mrain_piezo': '2.843', 'yrain_piezo': '14.398', 'ws90cap_volt': '3.3', 'ws90_ver': '119', 'temp1f': '-3.64', 'humidity1': '57', 'temp2f': '64.94', 'humidity2': '77', 'temp3f': '72.86', 'humidity3': '66', 'temp4f': '72.68', 'humidity4': '69', 'temp5f': '72.32', 'humidity5': '67', 'temp6f': '73.04', 'humidity6': '72', 'temp7f': '69.98', 'humidity7': '67', 'temp8f': '64.22', 'humidity8': '77', 'soilmoisture1': '27', 'soilmoisture2': '16', 'soilmoisture3': '47', 'soilmoisture4': '48', 'soilmoisture5': '47', 'soilmoisture6': '26', 'pm25_ch1': '7.0', 'pm25_avg_24h_ch1': '8.7', 'tf_co2': '70.52', 'humi_co2': '65', 'pm25_co2': '1.7', 'pm25_24h_co2': '2.0', 'pm10_co2': '1.7', 'pm10_24h_co2': '2.4', 'co2': '596', 'co2_24h': '603', 'lightning_num': '0', 'lightning': '37', 'lightning_time': '1662632990', 'tf_ch2': '63.32', 'tf_ch3': '71.96', 'leafwetness_ch1': '4', 'wh65batt': '0', 'wh26batt': '0', 'batt1': '0', 'batt2': '0', 'batt3': '0', 'batt4': '0', 'batt5': '0', 'batt6': '0', 'batt7': '0', 'batt8': '0', 'soilbatt1': '1.4', 'soilbatt2': '1.4', 'soilbatt3': '1.6', 'soilbatt4': '1.7', 'soilbatt5': '1.7', 'soilbatt6': '1.7', 'pm25batt1': '4', 'wh57batt': '5', 'tf_batt2': '1.24', 'tf_batt3': '1.24', 'co2_batt': '6', 'leaf_batt1': '1.72', 'wh90batt': '3.28', 'freq': '868M', 'model': 'GW2000A')>" }, "sensors": { "runtime": "7692", "dateutc": "2022-09-12 08:01:26", "tempinf": 75.02, "humidityin": 61, "baromrelin": 29.743, "baromabsin": 29.743, "tempf": 67.28, "humidity": 87, "winddir": 12, "windspeedmph": 4.7, "windgustmph": 4.92, "maxdailygust": 9.39, "solarradiation": 173.95, "uv": 1, "rainratein": 0.0, "eventrainin": 0.0, "hourlyrainin": 0.0, "dailyrainin": 0.0, "weeklyrainin": 0.0, "monthlyrainin": 3.827, "yearlyrainin": 14.075, "totalrainin": 14.075, "rrain_piezo": 0.0, "erain_piezo": 0.0, "hrain_piezo": 0.0, "drain_piezo": 0.0, "wrain_piezo": 0.0, "mrain_piezo": 2.843, "yrain_piezo": 14.398, "ws90cap_volt": 3.3, "temp1f": -3.64, "humidity1": 57, "temp2f": 64.94, "humidity2": 77, "temp3f": 72.86, "humidity3": 66, "temp4f": 72.68, "humidity4": 69, "temp5f": 72.32, "humidity5": 67, "temp6f": 73.04, "humidity6": 72, "temp7f": 69.98, "humidity7": 67, "temp8f": 64.22, "humidity8": 77, "soilmoisture1": 27, "soilmoisture2": 16, "soilmoisture3": 47, "soilmoisture4": 48, "soilmoisture5": 47, "soilmoisture6": 26, "pm25_ch1": 7.0, "pm25_avg_24h_ch1": 8.7, "tf_co2": 70.52, "humi_co2": 65, "pm25_co2": 1.7, "pm25_24h_co2": 2.0, "pm10_co2": 1.7, "pm10_24h_co2": "2.4", "co2": 596, "co2_24h": 603, "lightning_num": 0, "lightning": 37, "lightning_time": "2022-09-08T10:29:50+00:00", "tf_ch2": 63.32, "tf_ch3": 71.96, "wh65batt": 0.0, "wh26batt": 0.0, "batt1": 0.0, "batt2": 0.0, "batt3": 0.0, "batt4": 0.0, "batt5": 0.0, "batt6": 0.0, "batt7": 0.0, "batt8": 0.0, "soilbatt1": 1.4, "soilbatt2": 1.4, "soilbatt3": 1.6, "soilbatt4": 1.7, "soilbatt5": 1.7, "soilbatt6": 1.7, "pm25batt1": 80, "wh57batt": 100, "tf_batt2": 1.24, "tf_batt3": 1.24, "co2_batt": 120, "wh90batt": 3.28, "solarradiation_lux": 22019.0, "lightning_mi": 23, "tempc": 19.6, "tempinc": 23.9, "tf_co2c": 21.4, "tf_ch2c": 17.4, "tf_ch3c": 22.2, "temp1c": -19.8, "temp2c": 18.3, "temp3c": 22.7, "temp4c": 22.6, "temp5c": 22.4, "temp6c": 22.8, "temp7c": 21.1, "temp8c": 17.9, "windspeedkmh": 7.6, "windgustkmh": 7.9, "maxdailygustkmh": 15.1, "rainratemm": 0.0, "eventrainmm": 0.0, "hourlyrainmm": 0.0, "dailyrainmm": 0.0, "weeklyrainmm": 0.0, "monthlyrainmm": 97.2, "yearlyrainmm": 357.5, "totalrainmm": 357.5, "rrain_piezomm": 0.0, "erain_piezomm": 0.0, "hrain_piezomm": 0.0, "drain_piezomm": 0.0, "wrain_piezomm": 0.0, "mrain_piezomm": 72.2, "yrain_piezomm": 365.7, "baromrelhpa": 1007.1, "baromabshpa": 1007.1, "windchillf": null, "windchillc": null, "dewpointc": 17.4, "dewpointf": 63.3, "dewpointinc": 15.9, "dewpointinf": 60.7, "dewpoint1c": -26.2, "dewpoint1f": -15.1, "dewpoint2c": 14.2, "dewpoint2f": 57.6, "dewpoint3c": 16.0, "dewpoint3f": 60.8, "dewpoint4c": 16.6, "dewpoint4f": 61.9, "dewpoint5c": 16.0, "dewpoint5f": 60.8, "dewpoint6c": 17.5, "dewpoint6f": 63.5, "dewpoint7c": 14.7, "dewpoint7f": 58.5, "dewpoint8c": 13.8, "dewpoint8f": 56.9, "tempfeelsf": 67.3, "tempfeelsc": 19.6 } } }

pvizeli commented 2 years ago

Leaf wetness should be fixed. an the other things like uptime and name is not somethings that I will look into. If someone will open a PR with an suggestion, I'm happy to review

HybridRCG commented 2 years ago

After 2022.9.4 installation my ecowiit integration still fails.

  1. Used to have ecowitt with HACS and installed in integration.
  2. removed integration from HA Integration and removed from HACS.
  3. Restarted HA.
  4. Installed Ecowitt from integration. Copied path/port/server.
  5. changed it on the ecowitt website customized, protocol :Ecowitt, and pasted the infor from the integration.
  6. Saved info and clicked finish on the integration on HA for ecowitt.
  7. Restarted HA after about 10min with no info on the integration from HA.
  8. Looked for errors in HA Regarding Ecowitt . Found none. Please advise on how to get this fixed. :)
krakkato commented 2 years ago

I have the same problem, the integration does not load the sensors from ecowitt .... First update to 2022.9.4 I had the HACS integration. So I removed the HACS integration and configured the new integration but it never worked.

Mandrake1967 commented 2 years ago

For those not seeing any entities and thus data. I found that when I first removed the HACS Integration and then installed the core Integration that it did not prompt me on setup what the new port number was. I had to remove the integration and install it several times before the setup worked correctly and told me what the inbound port number was. You will need this to change on your Ecowitt device (its not the port 4199 that the HACS integration used). Once I did that then the integration worked and got the data and created the entities etc

pvizeli commented 2 years ago

The Leaf wetness PR got accepted but not for this release, it will be in the next release

HybridRCG commented 2 years ago

Thanks for the reply... I have removed the integration maybe 10 times already. The Path for the API keeps changing , the port and server stays the same. What Else can we do to get this working? , I changed the server IP to the dydndns name as well as the internal IP. I have a GWA2000A-WIFIA7A3 - Ver: GW2000A_V2.1.8 Screenshot 2022-09-16 at 11 03 30

Mandrake1967 commented 2 years ago

Sounds like the problem is with your Ecowitt gateway and making sure that you have the correct information set in the Custom output. I would focus your attention on that to make sure the API key and settings are correct.

HybridRCG commented 2 years ago

thanks, just confused as it worked 100% with HACS integration. Changed the details on the gateway no issue. it shows perfect.

Screenshot 2022-09-16 at 11 56 19

Mandrake1967 commented 2 years ago

No, I agree. That looks fine and matches my setup. When you removed the HACS integration from the Core Integration page did you also remove it from the HACS page? If you still have it installed that might be your issues. Click on the custom integration to open the page and then the 3 dots at the top right to remove the custom integration from the HACS page.

HybridRCG commented 2 years ago

yeah , I removed it both places. :( , Originally, then restarted HACS , and installed the new Core Integration.

pvizeli commented 2 years ago

Port 8123 have to be HTTP - you can use the TLS proxy add-on to run HTTP (for integration they not support TLS or custom certificates which have quite a bit around) and HTTPS for your clients

HybridRCG commented 2 years ago

Screenshot 2022-09-16 at 12 50 02 Do you mean this add on? , Its started. not sure what settings needs to be changed .. if any.. on it. http://192.168.1.185:8123 gives an error when in browser but https://192.168.1.185:8123 works.

HybridRCG commented 2 years ago

Ok... getting somehwere.. but not sure its correct. - I have ecowitt giving data. :) Changed the http in conf file to , but now i can only access my HA on http and not https? Am I missing something? http: use_x_forwarded_for: true trusted_proxies:

pvizeli commented 2 years ago

HTTPS is with this add-on at port 443 or simple https://

HybridRCG commented 2 years ago

domain: ***.duckdns.org hsts: max-age=31536000; includeSubDomains certfile: fullchain.pem keyfile: privkey.pem cloudflare: false customize: active: false default: nginx_proxy_default.conf servers: nginx_proxy/*.conf

Got this working.. What a mission. :) HACS integration was SO much easier.

  1. Had to port forward on my router... but split my port forward.. i had it to take all 443 and 8123 from outside to 8123 inside, but it has to be 443 to 443 and 8123 to 8123
  2. Also this in configuration.yaml : http: use_x_forwarded_for: true trusted_proxies:
    • 172.30.33.0/24

Just an observation.. not sure why this integration is only http , but the hacs one worked out of the "box" without having to jump through all this hoops. Alas. Happy I'm on the new Integration.

Mandrake1967 commented 1 year ago

Still not showing the leaf wetness sensor as a entity. I have updated to the latest version of HA. I assumed this should have been fixed and showing as an entity by now

pvizeli commented 1 year ago

Was not approved for an bugfix. Will be come with 2022.10 or you using nightly builds

Mandrake1967 commented 1 year ago

confirmed fixed. Many thanks pvizeli!