Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Idea: Use rpi LEDs as status LEDs for moOde itself
#27
(05-01-2020, 01:50 PM)Tim Curtis Wrote: Those files plus you may need to add a row to cfg_system to store the setting.

Heres the row for the current LED state seting
Code:
pi@rp3:~ $ sqlite3 /var/local/www/db/moode-sqlite3.db "SELECT * FROM cfg_system WHERE param='led_state'"
130|led_state|1,1

if you need to add a new row then run the command below substituting for new_param_name and default_value.
Code:
sqlite3 /var/local/www/db/moode-sqlite3.db "INSERT INTO cfg_system VALUES (138, 'new_param_name', 'default_value')"
many thanks, I'll see if I can do something
Reply


Messages In This Thread
RE: Use rpi LEDs as status LEDs for moOde itself - by romain - 05-01-2020, 01:53 PM

Forum Jump: