Push plugins do not apply command_transform
Home monitoring and automation suite now known as eGeoffrey
Brought to you by:
user2684
"command_transform" is in parse() while push plugins invoke directly store()
Test case:
{ "module_id": "test", "group_id": "test", "sensor_id": "test", "enabled": true, "format": "temperature", "command_transform": "echo print %value% + -0.2 | python", "plugin": { "plugin_name": "command", "command_poll": "echo 21.5", "poll_on_demand": true }, "summarize": { "avg": true, "min_max": true } }
pi@pi:/projects/myHouse $ sudo python sensors.py test test test save [2017-06-18 11:43:38] [sensors.py:195 - store()] INFO: [test][test][test] (2017-06-18 11:43:38) saving test: 21.3°C