node-picogw-plugin-omron2jcie-bu01 is an optional plugin module for PicoGW, a Home Automation and Building Automation devices gateway server, developed by Kanagawa Institute of Technology, Smart House Research Center, released under MIT license.
Database plugin provides an API for obtaining sensor values from OMRON 2JCIE-BU sensor (USB version). Note it requires sudo operation during initialization. It is recommended that the shell to run this module allows sudo without a passcode.
You can also pre-execute setup.sh before running this plugin.
Show all sensor values.
- Run PicoGW & this plugin on boot
/etc/rc.local
/home/pi/node-picogw-plugin-omron2jcie-bu01/setup.sh &
crontab -e
@reboot (. ~/node-picogw-plugin-omron2jcie-bu01/crontab/cronjob.env.sh; ~/node-picogw-plugin-omron2jcie-bu01/crontab/runpicogw.sh > ~/node-picogw-plugin-omron2jcie-bu01/crontab/picogw.log; )
Note crontab/cronjob.env.sh|runpicogw.sh should be properly modified.