Extra Sensors Extended
Posted: Sun Nov 05, 2023 10:47 pm
I always taught of a way to configure/add extrasensors in a centralized way.
So that every block/plugin/page could know the available sensors, names, unit used, limits and so on.
You can use this, for example, to extend the limits of 8 extra temperature sensors ( if you need ), or to add a second rain/wind sensor or...
NOTE
This is a preliminary version I'm currently testing.
At the moment, no block/plugin make use of this extension.. but things should change.
The only usage, for the moment, is to add new field/sensors to the alldataExtra database.
INSTALL
If you feel brave and want install it ( helping me troubleshooting ) make a backup copy of original scripts.
To install simply uncompress the archive in the root meteotemplate directory.
USAGE
You can run the setup via meteotemplate control panel -> Database -> Extra Sensors.
The first time you run the setup simply click the save button and an extended configuration ( corresponding to the actual one ) will be saved.
So that every block/plugin/page could know the available sensors, names, unit used, limits and so on.
You can use this, for example, to extend the limits of 8 extra temperature sensors ( if you need ), or to add a second rain/wind sensor or...
NOTE
This is a preliminary version I'm currently testing.
At the moment, no block/plugin make use of this extension.. but things should change.
The only usage, for the moment, is to add new field/sensors to the alldataExtra database.
INSTALL
If you feel brave and want install it ( helping me troubleshooting ) make a backup copy of original scripts.
To install simply uncompress the archive in the root meteotemplate directory.
USAGE
You can run the setup via meteotemplate control panel -> Database -> Extra Sensors.
The first time you run the setup simply click the save button and an extended configuration ( corresponding to the actual one ) will be saved.