Skip to content

DoImant/iobroker.scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 

Repository files navigation

What can be found here?

In this repository are scripts that I use in ioBroker. At the moment the script collection is limited to the processing of data received from my SensEgg sensors (See what SensEgg is) and a Mobile Alerts rain gauge (MA 10650).

Data retrieval of the rain gauge is done via the Mobile Alerts REST API.

To access the Mobile Alerts REST API, the module node-fetch is used, which must be installed for use with ioBroker. With the following instructions this can be done via a terminal:

cd /opt/iobroker/node_modules
sudo npm install node-fetch@2 --unsafe-perm
chown -R iobroker:iobroker node-fetch

In order for the newly installed module to be recognized, the Javascript instance must be restarted:

iobroker restart javascript.0

The code for the SensEgg sensor and the serial gateway to ioBroker can be found here: Code for SensEgg Sensor and receiver (serial gateway).

Display of three SensEgg sensors using ioBroker VIS. Screenshot ioBroker VIS