I have connected a 433,92Mhz transmitter's data port to a gpio and a 433,92Mhz receiver to another gpio (respectivly gpio 1 and 2) and connected ground and 5V to the appropiate pins on the circuit board.
I have Domoticz_4.9700-2 package running and to test the working i have motherboard sensors running on it which reads out everything nicely and added a weather station that runs fine.
As of now i'm running into the problem of how to get the transmitter and receiver seen by OpenWrt/Domoticz. I have installed 1W and OWFS and been playing arround with these kind of packages a bit without any succes.
In the DTS file of my build i have these gpio's configured, should gpio 1 and 2 be removed or changed?
gpio-export {
compatible = "gpio-export";
#size-cells = <0>;
/* I2C */
gpio1 {
/* I2C_I2C_SD */
gpio-export,name = "gpio0";
gpio-export,direction_may_change = <1>;
gpios = <&gpio0 1 GPIO_ACTIVE_HIGH>;
};
gpio2 {
/* I2C_I2C_SCLK */
gpio-export,name = "gpio1";
gpio-export,direction_may_change = <1>;
gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>;
};
};
gpio-keys-polled {
compatible = "gpio-keys-polled";
poll-interval = <20>;
reset {
label = "reset";
gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>;
};
wps {
label = "wps";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
linux,code = <KEY_WPS_BUTTON>;
};
};
Or are there any other things i should try out, any help will be appreciated.
My current build is with kernel 4.14.114.