I have tried to adapt your PHP code like this. <?php $db = new SQLite3('/home/pi/domoticz/domoticz.db'); var_dump($db); var_dump($db->lastErrorMsg()); $sql = "SELECT ID, Name, sValue, LastUpdate FROM DeviceStatus WHERE"; $sql .= " Type = 80 ORDER BY ID ASC"; $statement = $db->prepare($sql); var_dump ...
Hello, I want to access the domoticz database for consultation with a php page and I have some problems ... Domoticz turns on a raspberry. I have on this same raspberry lighttp, php and sqlite3. My script is <?php class MyDB extends SQLite3 { function __construct() { $chemin="/home/pi/domoticz ...
Under IOS with Safari or with Chrome, I get the message "browser cache refresh failed" and i can not use domoticz.
How to solve this problem?
Thanks you for help