@flipflap3 said in OpenHAB 2.4 MySensors Serial Gateway - How to install:
feature:install openhab-transport-serial
can you please add
"feature:install esh-io-transport-mqtt"
to the tutorial it is required to get it to work even in Serial
@flipflap3 said in OpenHAB 2.4 MySensors Serial Gateway - How to install:
feature:install openhab-transport-serial
can you please add
"feature:install esh-io-transport-mqtt"
to the tutorial it is required to get it to work even in Serial
For anyone interested in something similar, you have to specify the following when using ./configre..
--spi-driver=SPIDEV
I added the above and it worked like a charm!
For some reason, my TFT disables both SPI0 & SPI1, which took me sometime to figure out on how re-enable it! once that was done, it was a piece of cake!
complete command:
sudo ./configure --my-gateway=serial --my-debug=enable --my-serial-is-pty --my-serial-groupname=tty --my-transport=rf24 --my-rf24-channel=76 --my-rf24-ce-pin=37 --my-rf24-cs-pin=29 --spi-spidev-device=/dev/spidev1.0 --spi-driver=SPIDEV
Wohoo got it to finally work
not using MQTT but via serial gateway which is good enough for now
@monte said in NRF24L01+ on SPI1, TFT on SPI0:
he pins are: SPI1 CS0
While the link you have provided is true and it may work, (I have not tested that method) you can simply do the following which is much easier:
//cs0_pin=5 is GPIO pin, which is PIN 29
dtoverlay=spi1-1cs,cs0_pin=5
you can basically pick whichever pin you want as long as you tell MySensors which pin you are using when you run the ./configure using:
--my-rf24-cs-pin=29
@mfalkvidd, @bgunnarb & @waspie
Thank you for the help guys, to be honest I felt fairly out dated because I wasn't able to get it working first try! as usually I am a tech guru, and I am able to just get things working the way I want fairly easily!
Anyhow, I will keep digging and see what I can do! I definitely need to get my head around it, but also need to get this up and running for my school project, as this will be my project for end of the semester! and will be using it in our family Restaurant after and yes, free food for everyone that helps me out haha
Will report back with any questions
@waspie I would love to make it as simple as possible for the school project purposes, so I can get it done and take my time tinkering later on with MQTT and everything else, but I absolutely need a working device to present within 2 months
Cheers