rgerganov / py-air-control

Command line app for controlling Philips air purifiers
MIT License
257 stars 52 forks source link

README.md: added Running without root privileges #49

Closed szogi closed 4 years ago

Sunoo commented 4 years ago

Two things:

First, this only seems to matter for Plain CoAP, not 'regular' CoAP. Though it seems like none of that messaging has been added yet.

Second, sudo echo "net.ipv4.ping_group_range=0 1000" >> /etc/sysctl.conf will give you an access denied. The correct way to do that would be echo "net.ipv4.ping_group_range=0 1000" | sudo tee -a /etc/sysctl.conf instead.

EDIT: I made pull request #51 based off of this one that makes both of these changes.