New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wiffi also suitable for LAN devices #26089
Comments
Hey there @mampfes, mind taking a look at this feedback as it has been labeled with an integration ( Code owner commandsCode owners of
|
fix home-assistant/home-assistant.io#26089 wiffi 1.1.1 adds support for LAN based Wiffi devices. It doesn't presume the attributes `rssi` and `ssid` anymore.
Hi, Because this is exactly what I did and still I face the same error log as before:
Also I would have anticipated a kind of switch to select wiffi via WLAN - LAN ? Almost useless to say I am absolutely unexperienced as python and yaml is conecerned, hence I appreciate |
I think this will not work, because HA always uses the configured package version. This also corresponds to what you can see in the log: In version 1.1.2 this line from the log is in line 241. There are some advices in the HA developer docu how to use different version for packages like wiffi: https://developers.home-assistant.io/docs/creating_integration_manifest#custom-requirements-during-development--testing It would be great if you could test this before I (re)open the PR in the HA main repo. |
fix home-assistant/home-assistant.io#26089 wiffi 1.1.1 adds support for LAN based Wiffi devices. It doesn't presume the attributes `rssi` and `ssid` anymore.
Feedback
The software developper of the wiffi add-on is using a weatherman device - a kit purchased fm stall.buiz and an interesting
solution. But it is also important to note: data transmission fm the weatherman to the homeassistant is done via WLAN.
When I installed the Pulsecounter-LAN2 (also fm stall.buiz) to be connected to the homeassistant my idea was to use this
wiffi add-on - but it doesn't work`` with the following error message:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/wiffi/init.py", line 224, in call
await self.parse_msg(peername, data[:-1]) # omit separator with [:-1]
File "/usr/local/lib/python3.10/site-packages/wiffi/init.py", line 240, in parse_msg
metrics.append(WiffiMetricFromSystemInfo("rssi", "dBm", "number", data["Systeminfo"]["WLAN_Signal_dBm"]))
KeyError: 'WLAN_Signal_dBm'
Pls note: I am a newbie as homeassistant as well as software dev. is concerned, but my idea is:
The pulsecounter is connected to my network/homeassistant via LAN (and not via WLAN as the weatherman).
As the wiffi add-on is concerned: the add-on is waiting for an information as the WLAN signal strengh is concerned
It would be great if mampfes could append a "switch" in his wiffi addon to make it suitable also for wiffi LAN devices
URL
https://www.home-assistant.io/integrations/wiffi/
Version
2023.2.1
Additional information
used homeassistant version
The text was updated successfully, but these errors were encountered: