The issue is the empty packets are not handled in the CoAPthon3, which throws those errors.
Try to have on the log file, what the airctrl generates. It should be saved somewhere, I have no idea where. Or set it in the logging.conf file of the CoAPthon3 to see what exactly happening.
Hello,
probably you need the python3-wheel package on your server:
python3-wheel: /usr/lib/python3/dist-packages/wheel/bdist_wheel.py
btw. for me the component doesnât work correctly, idk why. If I load the component even the logging stops. I use other custom component which are working perfectly but if I copy this one to the custom_component directory and restart homeassistant the logging stops and everything else -but the airpurifier- works perfectly.
I can ping them both from the Raspi that runs HA 2020.12.1.
Using the integration from @xMrVizzy installed via HACS didnât get me anywhere. I then read here about the fork from @shexbeer which I installed as a replacement. Setting the new protocol: setting to 1 left me where the original integration was. However, setting the protocol: setting to 3 created new Entities in HA.
The entities can be visualized in Lovelace with a plain toggle switch, clicking on the name shows some details which reflect the data from the devices. Thatâs all great!
Now, communication seems to be patchy. I can switch both devices off but I cannot switch them back on. The toggle stays in switched-on state. Clicking it again seems to send a signal to the device as the devices makes its ping sound. But apparently, it is a âplease switch offâ signal again, as nothing happens. The device doesnât turn on. I also noticed that the data doesnât update. E.g. the Pm25 data stays where it was when HA connected in the first place, but when it changes in the room (and on the device), this is not reflected in HA. Waiting for several minutes sees HA updating the state. Then I can switch the device.
My feeling is, that polling is working only at long intervals and HA is not updating the true state of the device. I added scan_interval: 10 to the configuration, but that didnât help. Being a beginner with HA: how do you tell an entity to update itself? Any suggestions for a next step?
Just installing the repo, adding 4 lines of code to configuration.yaml
Mine model is not yet fully supported at that repo, but iâm already getting data in HA, and able to switch between speed etc.
Added the raw data for my model (AC1214) to the dev, to see if he can make it fully supported. So maybe if more users can add their raw data, we can have one good repo with supported models which is very easy to install in HA.
Wow, thank you! Itâs working with my model too (ac3858) without any problems. Would be cool to see some of the attributes (for example pm25, tvoc) as a sensor, but made it with sensor template. Iâm really happy, thank you!