Drolla / WavePlus_Bridge

Airthings Wave Plus Bridge to Wifi/LAN and MQTT
MIT License
21 stars 9 forks source link

Failed to communicate with device #4

Closed ulrischa closed 2 years ago

ulrischa commented 2 years ago

When I Run sudo /opt/waveplus_bridge/waveplus_bridge.py \ --config /opt/waveplus_bridge/waveplus_bridge.yaml \ --log "" I get the Error: Failed to communicate with device ** And Could not find device

Drolla commented 2 years ago

Is this the only error message you have received, @ulrischa? Otherwise, could you please add the full log?

A few questions:

Could you please also send the information from your configuration file (waveplus_bridge.yaml) that is relevant for the connection (period, sn, port). Please don't send eventual private data (email, password, etc).

Finally, if you keep the the application running, are you getting notified that the connection can be established, or is the connection never established?

ulrischa commented 2 years ago

Works like a charm. It was too far away from the waveplus. Strange because with the official reader script it worked

Drolla commented 2 years ago

OK, happy to hear that it works now. I do not see any reason why the distance to a WavePlus device would be smaller with this Bridge than with the official reader script, since both solutions use the same communication methods. However if you have a confirmation that the distance is smaller with this Bridge, please let me know. I will run then some investigations.

ulrischa commented 2 years ago

Yes I have tested it without moving the pi or the airthings wave plus. And the official reader seems to work for a longer distance.