phifogg / ioBroker.sainlogic

An IoBroker Adapter for Sainlogic based weather stations
MIT License
20 stars 11 forks source link

weather.daily.lightning_num #162

Closed Michel83 closed 1 year ago

Michel83 commented 1 year ago

Hi, leider wird der neue Datenpunkt nicht aktualisiert heute 8 Blitze aber nicht im Adapter zu sehen.

sainlogic.0.weather.daily.lightning_num

Screenshot_20230513_160149_Gallery

Grüsse

phifogg commented 1 year ago

Wäre natürlich ein Log gut wo die Daten kommen, dann kann ich sehen was passiert. Ideal im Debug modus.

Michel83 commented 1 year ago

Hi,

reicht das ?

<html><body>
<!--StartFragment-->

2023-05-22 16:47:18.026  - debug: sainlogic.0 (25142) Extracting value for info.last_listener_update(last_listener_update)
--
2023-05-22 16:47:18.026  - debug: sainlogic.0 (25142) Setting value from data for info.softwaretype to WH2650A_V1.7.6
2023-05-22 16:47:18.028  - debug: sainlogic.0 (25142) Setting value from data for weather.current.indoortemp to 22.6
2023-05-22 16:47:18.029  - debug: sainlogic.0 (25142) Target for indoortemp unit is set: °C, using conversion: null
2023-05-22 16:47:18.029  - debug: sainlogic.0 (25142) Setting value from data for weather.current.indoorhumidity to 59
2023-05-22 16:47:18.030  - debug: sainlogic.0 (25142) Setting value from data for weather.current.pressurerel to 1081.8
2023-05-22 16:47:18.030  - debug: sainlogic.0 (25142) Target for pressurerel unit is set: hPa, using conversion: null
2023-05-22 16:47:18.030  - debug: sainlogic.0 (25142) Setting value from data for weather.current.pressureabs to 995
2023-05-22 16:47:18.031  - debug: sainlogic.0 (25142) Target for pressureabs unit is set: hPa, using conversion: null
2023-05-22 16:47:18.033  - debug: sainlogic.0 (25142) Setting value from data for weather.current.outdoortemp to 26.3
2023-05-22 16:47:18.034  - debug: sainlogic.0 (25142) Target for outdoortemp unit is set: °C, using conversion: null
2023-05-22 16:47:18.034  - debug: sainlogic.0 (25142) Setting value from data for weather.current.outdoorhumidity to 48
2023-05-22 16:47:18.035  - debug: sainlogic.0 (25142) Setting value from data for weather.current.winddir to 264
2023-05-22 16:47:18.036  - debug: sainlogic.0 (25142) Setting value from data for weather.current.windspeed to 1.4
2023-05-22 16:47:18.037  - debug: sainlogic.0 (25142) Target for windspeed unit is set: km/h, using conversion: null
2023-05-22 16:47:18.038  - debug: sainlogic.0 (25142) Setting value from data for weather.current.windgustspeed to 3.6
2023-05-22 16:47:18.039  - debug: sainlogic.0 (25142) Target for windgustspeed unit is set: km/h, using conversion: null
2023-05-22 16:47:18.039  - debug: sainlogic.0 (25142) Setting value from data for weather.current.maxdailygust to 9.4
2023-05-22 16:47:18.040  - debug: sainlogic.0 (25142) Target for maxdailygust unit is set: km/h, using conversion: null
2023-05-22 16:47:18.040  - debug: sainlogic.0 (25142) Setting value from data for weather.current.solarradiation to 11811
2023-05-22 16:47:18.043  - debug: sainlogic.0 (25142) Target for solarradiation unit is set: lx, using conversion: null
2023-05-22 16:47:18.044  - debug: sainlogic.0 (25142) Setting value from data for weather.current.uvi to 0
2023-05-22 16:47:18.044  - debug: sainlogic.0 (25142) Setting value from data for weather.current.rain to 0
2023-05-22 16:47:18.045  - debug: sainlogic.0 (25142) Target for rain unit is set: mm, using conversion: null
2023-05-22 16:47:18.045  - debug: sainlogic.0 (25142) Setting value from data for weather.current.dailyrain to 0
2023-05-22 16:47:18.046  - debug: sainlogic.0 (25142) Target for dailyrain unit is set: mm, using conversion: null
2023-05-22 16:47:18.047  - debug: sainlogic.0 (25142) Setting value from data for weather.current.weeklyrain to 0
2023-05-22 16:47:18.048  - debug: sainlogic.0 (25142) Target for weeklyrain unit is set: mm, using conversion: null
2023-05-22 16:47:18.048  - debug: sainlogic.0 (25142) Setting value from data for weather.current.monthlyrain to 97.2
2023-05-22 16:47:18.049  - debug: sainlogic.0 (25142) Target for monthlyrain unit is set: mm, using conversion: null
2023-05-22 16:47:18.049  - debug: sainlogic.0 (25142) Setting value from data for weather.current.yearlyrain to 460.7
2023-05-22 16:47:18.050  - debug: sainlogic.0 (25142) Target for yearlyrain unit is set: mm, using conversion: null
2023-05-22 16:47:18.052  - debug: sainlogic.0 (25142) Setting value from data for weather.current.totalrainin to 460.7
2023-05-22 16:47:18.052  - debug: sainlogic.0 (25142) Target for totalrainin unit is set: mm, using conversion: null
2023-05-22 16:47:18.053  - debug: sainlogic.0 (25142) Setting value from data for weather.current.1.outdoortemp to 21.1
2023-05-22 16:47:18.053  - debug: sainlogic.0 (25142) Target for outdoortemp unit is set: °C, using conversion: null
2023-05-22 16:47:18.054  - debug: sainlogic.0 (25142) Setting value from data for weather.current.1.outdoorhumidity to 62
2023-05-22 16:47:18.054  - debug: sainlogic.0 (25142) Setting value from data for weather.current.2.outdoortemp to 16.9
2023-05-22 16:47:18.055  - debug: sainlogic.0 (25142) Target for outdoortemp unit is set: °C, using conversion: null
2023-05-22 16:47:18.056  - debug: sainlogic.0 (25142) Setting value from data for weather.current.2.outdoorhumidity to 70
2023-05-22 16:47:18.057  - debug: sainlogic.0 (25142) Setting value from data for weather.current.1.soilmoisture to 25
2023-05-22 16:47:18.057  - debug: sainlogic.0 (25142) Setting value from data for weather.current.lightning to 17
2023-05-22 16:47:18.058  - debug: sainlogic.0 (25142) Setting value from data for weather.current.lightning_time to 1684766190
2023-05-22 16:47:18.058  - debug: sainlogic.0 (25142) Setting value from data for weather.info.wh25batt to 0
2023-05-22 16:47:18.058  - debug: sainlogic.0 (25142) Setting value from data for weather.info.1.soilbatt to 1.3
2023-05-22 16:47:18.059  - debug: sainlogic.0 (25142) Setting value from data for info.freq to 868M
2023-05-22 16:47:18.060  - debug: sainlogic.0 (25142) Setting value from data for info.model to WH2650A
2023-05-22 16:47:18.061  - debug:  sainlogic.0 (25142) Setting value from data for  info.last_listener_update to  {"PASSKEY":"++++++++","stationtype":"WH2650A_V1.7.6","runtime":"5183119","dateutc":"2023-05-22   14:47:17","tempinf":"72.68","humidityin":"59","baromrelin":"31.949","baromabsin":"29.385","tempf":"79.34","humidity":"48","winddir":"264","windspeedmph":"0.89","windgustmph":"2.24","maxdailygust":"5.82","solarradiation":"93.22","uv":"0","rainratein":"0.000","eventrainin":"0.000","hourlyrainin":"0.000","dailyrainin":"0.000","weeklyrainin":"0.000","monthlyrainin":"3.827","yearlyrainin":"18.138","totalrainin":"18.138","temp1f":"69.98","humidity1":"62","temp2f":"62.42","humidity2":"70","soilmoisture1":"25","lightning_num":"7","lightning":"17","lightning_time":"1684766190","wh65batt":"0","wh25batt":"0","batt1":"0","batt2":"0","soilbatt1":"1.3","wh57batt":"5","freq":"868M","model":"WH2650A"}

<!--EndFragment-->
</body>
</html>
Michel83 commented 1 year ago

Hier nochmal eine Zweite, hat grade gepasst weil Gewitter

<html><body>
<!--StartFragment-->

sainlogic.0 | 2023-05-22 16:52:13.481 | info | terminating
-- | -- | -- | --
sainlogic.0 | 2023-05-22 16:52:13.481 | info | Sainlogic Adapter gracefully shut down...
sainlogic.0 | 2023-05-22 16:52:13.477 | info | Got terminate signal TERMINATE_YOURSELF
sainlogic.0 | 2023-05-22 16:52:12.035 | debug | Setting  value from data for info.last_listener_update to  {"PASSKEY":"lnönönlkklölkl","stationtype":"WH2650A_V1.7.6","runtime":"5183413","dateutc":"2023-05-22   14:52:11","tempinf":"72.68","humidityin":"59","baromrelin":"31.957","baromabsin":"29.394","tempf":"78.98","humidity":"51","winddir":"201","windspeedmph":"2.68","windgustmph":"9.17","maxdailygust":"9.17","solarradiation":"90.16","uv":"0","rainratein":"0.000","eventrainin":"0.000","hourlyrainin":"0.000","dailyrainin":"0.000","weeklyrainin":"0.000","monthlyrainin":"3.827","yearlyrainin":"18.138","totalrainin":"18.138","temp1f":"69.98","humidity1":"62","temp2f":"62.42","humidity2":"71","soilmoisture1":"25","lightning_num":"7","lightning":"17","lightning_time":"1684766190","wh65batt":"0","wh25batt":"0","batt1":"0","batt2":"0","soilbatt1":"1.3","wh57batt":"5","freq":"868M","model":"WH2650A"}
sainlogic.0 | 2023-05-22 16:52:12.035 | debug | Setting value from data for info.model to WH2650A
sainlogic.0 | 2023-05-22 16:52:12.034 | debug | Setting value from data for weather.info.1.soilbatt to 1.3
sainlogic.0 | 2023-05-22 16:52:12.033 | debug | Setting value from data for weather.info.wh25batt to 0
sainlogic.0 | 2023-05-22 16:52:12.033 | debug | Setting value from data for weather.current.lightning to 17
sainlogic.0 | 2023-05-22 16:52:12.034 | debug | Setting value from data for info.freq to 868M
sainlogic.0 | 2023-05-22 16:52:12.032 | debug | Setting value from data for weather.current.1.soilmoisture to 25
sainlogic.0 | 2023-05-22 16:52:12.032 | debug | Target for outdoortemp unit is set: °C, using conversion: null
sainlogic.0 | 2023-05-22 16:52:12.033 | debug | Setting value from data for weather.current.lightning_time to 1684766190
sainlogic.0 | 2023-05-22 16:52:12.031 | debug | Setting value from data for weather.current.2.outdoortemp to 16.9
sainlogic.0 | 2023-05-22 16:52:12.032 | debug | Setting value from data for weather.current.2.outdoorhumidity to 71
sainlogic.0 | 2023-05-22 16:52:12.030 | debug | Setting value from data for weather.current.1.outdoorhumidity to 62
sainlogic.0 | 2023-05-22 16:52:12.029 | debug | Target for outdoortemp unit is set: °C, using conversion: null
sainlogic.0 | 2023-05-22 16:52:12.029 | debug | Target for totalrainin unit is set: mm, using conversion: null
sainlogic.0 | 2023-05-22 16:52:12.029 | debug | Setting value from data for weather.current.totalrainin to 460.7
sainlogic.0 | 2023-05-22 16:52:12.028 | debug | Setting value from data for weather.current.yearlyrain to 460.7
sainlogic.0 | 2023-05-22 16:52:12.028 | debug | Setting value from data for weather.current.monthlyrain to 97.2
sainlogic.0 | 2023-05-22 16:52:12.029 | debug | Setting value from data for weather.current.1.outdoortemp to 21.1
sainlogic.0 | 2023-05-22 16:52:12.027 | debug | Target for weeklyrain unit is set: mm, using conversion: null
sainlogic.0 | 2023-05-22 16:52:12.027 | debug | Target for dailyrain unit is set: mm, using conversion: null
sainlogic.0 | 2023-05-22 16:52:12.028 | debug | Target for monthlyrain unit is set: mm, using conversion: null
sainlogic.0 | 2023-05-22 16:52:12.028 | debug | Target for yearlyrain unit is set: mm, using conversion: null
sainlogic.0 | 2023-05-22 16:52:12.026 | debug | Setting value from data for weather.current.dailyrain to 0
sainlogic.0 | 2023-05-22 16:52:12.026 | debug | Setting value from data for weather.current.rain to 0
sainlogic.0 | 2023-05-22 16:52:12.027 | debug | Setting value from data for weather.current.weeklyrain to 0
sainlogic.0 | 2023-05-22 16:52:12.025 | debug | Setting value from data for weather.current.uvi to 0
sainlogic.0 | 2023-05-22 16:52:12.025 | debug | Setting value from data for weather.current.solarradiation to 11423
sainlogic.0 | 2023-05-22 16:52:12.026 | debug | Target for rain unit is set: mm, using conversion: null
sainlogic.0 | 2023-05-22 16:52:12.025 | debug | Target for maxdailygust unit is set: km/h, using conversion: null
sainlogic.0 | 2023-05-22 16:52:12.024 | debug | Target for windgustspeed unit is set: km/h, using conversion: null
sainlogic.0 | 2023-05-22 16:52:12.025 | debug | Target for solarradiation unit is set: lx, using conversion: null
sainlogic.0 | 2023-05-22 16:52:12.024 | debug | Setting value from data for weather.current.windgustspeed to 14.8
sainlogic.0 | 2023-05-22 16:52:12.023 | debug | Setting value from data for weather.current.windspeed to 4.3
sainlogic.0 | 2023-05-22 16:52:12.024 | debug | Setting value from data for weather.current.maxdailygust to 14.8
sainlogic.0 | 2023-05-22 16:52:12.022 | debug | Setting value from data for weather.current.winddir to 201
sainlogic.0 | 2023-05-22 16:52:12.022 | debug | Target for outdoortemp unit is set: °C, using conversion: null
sainlogic.0 | 2023-05-22 16:52:12.023 | debug | Target for windspeed unit is set: km/h, using conversion: null
sainlogic.0 | 2023-05-22 16:52:12.022 | debug | Setting value from data for weather.current.outdoortemp to 26.1
sainlogic.0 | 2023-05-22 16:52:12.021 | debug | Setting value from data for weather.current.pressureabs to 995.3
sainlogic.0 | 2023-05-22 16:52:12.022 | debug | Setting value from data for weather.current.outdoorhumidity to 51
sainlogic.0 | 2023-05-22 16:52:12.021 | debug | Target for pressurerel unit is set: hPa, using conversion: null
sainlogic.0 | 2023-05-22 16:52:12.021 | debug | Target for pressureabs unit is set: hPa, using conversion: null
sainlogic.0 | 2023-05-22 16:52:12.020 | debug | Setting value from data for weather.current.pressurerel to 1082.1
sainlogic.0 | 2023-05-22 16:52:12.020 | debug | Setting value from data for weather.current.indoorhumidity to 59
sainlogic.0 | 2023-05-22 16:52:12.019 | debug | Target for indoortemp unit is set: °C, using conversion: null
sainlogic.0 | 2023-05-22 16:52:12.016 | debug | Setting value from data for weather.current.indoortemp to 22.6
sainlogic.0 | 2023-05-22 16:52:12.016 | debug | Setting value from data for info.softwaretype to WH2650A_V1.7.6
sainlogic.0 | 2023-05-22 16:52:12.015 | debug | Extracting value for info.model(model)
sainlogic.0 | 2023-05-22 16:52:12.015 | debug | Extracting value for info.freq(freq)
sainlogic.0 | 2023-05-22 16:52:12.014 | debug | Extracting value for weather.info.1.soilbatt(soilbatt1)
sainlogic.0 | 2023-05-22 16:52:12.015 | debug | Extracting value for info.last_listener_update(last_listener_update)
sainlogic.0 | 2023-05-22 16:52:12.014 | debug | No mapping found for dataelement: batt2
sainlogic.0 | 2023-05-22 16:52:12.013 | debug | Extracting value for weather.info.wh25batt(wh25batt)
sainlogic.0 | 2023-05-22 16:52:12.014 | debug | No mapping found for dataelement: wh57batt
sainlogic.0 | 2023-05-22 16:52:12.012 | debug | No mapping found for dataelement: wh65batt
sainlogic.0 | 2023-05-22 16:52:12.013 | debug | No mapping found for dataelement: batt1
sainlogic.0 | 2023-05-22 16:52:12.012 | debug | Extracting value for weather.current.lightning_time(lightning_time)
sainlogic.0 | 2023-05-22 16:52:12.012 | debug | Extracting value for weather.current.lightning(lightning)
sainlogic.0 | 2023-05-22 16:52:12.011 | debug | Extracting value for weather.current.lightning(lightning_num)
sainlogic.0 | 2023-05-22 16:52:12.011 | debug | Extracting value for weather.current.1.soilmoisture(soilmoisture1)
sainlogic.0 | 2023-05-22 16:52:12.010 | debug | Extracting value for weather.current.2.outdoorhumidity(humidity2)
sainlogic.0 | 2023-05-22 16:52:12.008 | debug | Extracting value for weather.current.2.outdoortemp(temp2f)
sainlogic.0 | 2023-05-22 16:52:12.008 | debug | Extracting value for weather.current.1.outdoorhumidity(humidity1)
sainlogic.0 | 2023-05-22 16:52:12.007 | debug | Extracting value for weather.current.1.outdoortemp(temp1f)
sainlogic.0 | 2023-05-22 16:52:12.006 | debug | Extracting value for weather.current.totalrainin(totalrainin)

<!--EndFragment-->
</body>
</html>
phifogg commented 1 year ago

Steht aber doch da er würde es machen: sainlogic.0 | 2023-05-22 16:52:12.033 | debug | Setting value from data for weather.current.lightning to 17 Und das geht nicht?

phifogg commented 1 year ago

Ah.. könnte sein das es von lightning_num überschrieben wird. Könnte sein, dass ich beide auf den selben State schreibe, das wäre blöd.

Michel83 commented 1 year ago

Hi, also der Datenpunkt bleibt leer gut im Moment auch richtig aber bei Blitzen auch.

Grüsse

Screenshot_20230523_210834_Firefox

Michel83 commented 1 year ago

Funktioniert super, Danke und Grüsse