Hello, i’m new in pimatic and it runs on a RPi2 with pilight.
But i can’t get run the ultrasonic-Plugin with the HC-SR04-Sensor. Its the latest version 0.8.5 and also r-pi-usonic
is actual. When i start pimatic it gives me following Error:
Error loading device ultrasonic: Object #<Object> has no method ‘sensor’
I have tried manual download and install from github.
I have also tried the Sensor wit example-scripts from r-pi-usonic and it gives me correct measurements.
I have found one thing, that could eventually help, it’s about r-pi-usonic:
“You need usonic.createSensor() to be inside the unsonic.init function:”
But i have no Idea where i have to put it in. And if this then works.
I hope someone can help me with this Issue
numpsi