phifogg / ioBroker.sainlogic

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

WeatherUnderground vs Ecowitt #121

Closed pancetta closed 2 years ago

pancetta commented 2 years ago

Describe the bug
I just got my Froggit DP1500 + moisture sensors and followed the guide to get the data into my iobroker. Nothing happened in listener mode, nothing in scheduler mode. After changing the protocol to Ecowitt (instead of WeatherUnderground as described in the guide), the data started to show up.

To Reproduce
Follow the guide for a Froggit DP1500, iobroker v5.3.8.

Expected behavior
Either data should show up when using WeatherUnderground or the guide needs to mention Ecowitt instead. I'm not fully sure whether this may not be a bug in the DP1500, though.

Screenshots & Logfiles
If applicable, add screenshots and logfiles to help explain your problem.

Versions:

Additional context
Since stuff works now for me, no immediate action is required. However, if this is a bug in the guide or the adapter, this should be fixed or mentioned. In any case, thanks for the great work with this adapter!

Edit: Interestingly, the DP1500 seems to send the model string "GW1000A_Pro", which suggests an Ecowitt Gateway. Maybe that's the issue here.

phifogg commented 2 years ago

Thanks for the detailed issue report. Can you set your settings to WU protocol and run the adapater in debug mode? This would allow me to see if the data is actually transmitted or not. I have seen some differences in the data sent by the different stations.

pancetta commented 2 years ago

I indeed did that already, the logs do not show any incoming message. The debug output ends with 2022-05-28 11:08:20.313 - info: sainlogic.0 (5986) Starting Listener.

Screenshot 2022-05-30 at 11 24 02

I killed the adapter after a few minutes, since nothing came in.

pancetta commented 2 years ago

Compare this to using ecowitt:

Screenshot 2022-05-30 at 11 27 41

Btw., the weatherunderground entries are coming from another adapter.

pancetta commented 2 years ago

The last line also shows issue #122..

phifogg commented 2 years ago

That is weird.. the only change you made where changing protocol in the adapter and in the station? It should at least report a bad request if something is sent from the station. I'll keep a comment in the readme that possible the station does not work correctly with WU protocol.

pancetta commented 2 years ago

Yes, that's what I did, presumably. Everything else was the same and I double-checked the other parameters, also when using WU. I guess having a comment in the readme is the easiest way to help here.

phifogg commented 2 years ago

Readme is updated. Closing for now.

mcm1957 commented 2 years ago

Did you set Station-id and Ststion-Key to ANY non blank value? My Eurochron did not send any data as long as stations-id and station.key have been empty. see #130