after reactivating I get:
- Code: Select all
sudo python sgp30.py ; tail -f /var/log/pibeacon.log
06-10:44:25 sgp30 startSensor L:255 Lv:30 ==== Start sgp30 ===== @ i2c= 88
06-10:44:25 sgp30 startSensor L:263 Lv:30 SGP30 serial #['0x0', '0x64', '0xe603']
06-10:44:25 sgp30 startSensor L:264 Lv:30 featureset ['0x20']
06-10:44:26 master startProgam L:607 Lv:20 >>>> starting sgp30.py -- restarting sgp30.py ..not running .. no alive file;-- with cmd: sudo /usr/bin/python /home/pi/pibeacon/sgp30.py &
06-10:44:26 piBeaconUtils getIPNumber L:516 Lv:20 cBY:sgp30 found IP number:192.168.1.20
06-10:44:26 sgp30 readParams L:183 Lv:30 sgp30 reading new parameter file
06-10:44:26 sgp30 startSensor L:255 Lv:30 ==== Start sgp30 ===== @ i2c= 88
06-10:44:26 sgp30 startSensor L:263 Lv:30 SGP30 serial #['0x0', '0x64', '0xe603']
06-10:44:26 sgp30 startSensor L:264 Lv:30 featureset ['0x20']
and
- Code: Select all
tail -F temp/messageSend | grep sgp
tail: temp/messageSend: file truncated
...
tail: temp/messageSend: file truncated
10:45:38 sgp30: send -- {"pi":"0","sensors":{"sgp30":{"526192700":{"CO2":"408","VOC":"5"}}},"program":"sgp30","ipAddress":"192.168.1.20","ts":{"tz":"CDT","time":1575650737.92}}
tail: temp/messageSend: file truncated
...
tail: temp/messageSend: file truncated
10:46:34 master: send -- {"last_masterStart":"2019-12-06 10:43:51","temp":"60.0","rpi_type":"Pi 4 Model B Rev 1.1, ser#10000000f1d7dedb","ts":{"tz":"CDT","time":1575650794.5},"program":"master","last_boot":"2019-12-06 02:01:03","sensors_active":"sgp30, rdlidar, bme680, 3 INPUTpulse, OPT3001","pi":"0","ipAddress":"192.168.1.20","op_sys":"10 (buster), 4.19.75-v7l+, #1270 SMP Tue Sep 24 18:51:41 BST 2019","i2c_active":"16=x10,71=x47,124=x7c"}
tail: temp/messageSend: file truncated
...
tail: temp/messageSend: file truncated
10:47:06 sgp30: send -- {"pi":"0","sensors":{"sgp30":{"526192700":{"CO2":"419","VOC":"4"}}},"program":"sgp30","ipAddress":"192.168.1.20","ts":{"tz":"CDT","time":1575650826.13}}
tai
thats how it should look like and the plugin updates as well..
I guess the software works..
so please do the i2cdetect
then switch debug on for that rpi in config
on rpi do
tail -f /var/log/pibeacon.log | grep sgp
Karl