I have built my first RF sensor with this sketch “https://github.com/incmve/generic-rfbox” and I used only the ultrasonic sensor. In the “Log messages” these values are displayed:
debug [pimatic-homeduino]: generic: { id: 1000, type: 3, positive: true, value: 34 }
Then I tried using the GUI to create a new device.
Name: Ultraschall
ID: ultraschall
Class: HomeduinoRFGenericSensor
at protocols I typed
name: generic
id: 1000
type: 3
positive: yes
value: 300
What does the “value” value stand for?
and at attributes I tried this:
name: distance
type: 3
decimals: 3
unit: cm
Unfortunately, the result is:
Ultraschall: Unknown cm
May someone help me to configure the device correctly? The signals received via RF seem to be correct.