05-01-2020, 01:50 PM
(This post was last modified: 05-01-2020, 01:51 PM by Tim Curtis.)
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
if you need to add a new row then run the command below substituting for new_param_name and default_value.
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')"