I have several arduino srf shields(ciseco site is down because they closed) a rpi shield and a usb receiver. They use rf to send to eachother and use on arduino the Serial port.
Is it possible to use them together with Home Assistant.
I have has running on the rpi and i want to send and receive message(temp sensors data, send command to arduino to switch relay etc) is this possible?
You could use pyserial to communicate with the arduino over usb. Not sure about the rf part. There are several transceivers out there, depends on what the shields use.
I have a raspberyr pi with an arduino (ninblock from here http://shop.ninjablocks.com/pages/picrust)
The project is now defunct and fully maintained by contributors, forums, etc, however, I was able to:
-install node red
-setup the py-serial to send/receive RF 433 Mhz signals
-configured node red to read the 433 signals and be able to use it to continue sending/receivingā¦etcā¦
I will try this tonight. I donāt have an arduino connected to my rpi but rather have a transceiver connected to my rpi that sends messages to other arduinos wireless
with several arduinos and an rpi i would check out mysensors.
i have quit a lot arduinos running and its gettin more and more.
1 is connected to my rpi through usb as gateway, and i have 2 esp8266 running elsewhere in the house as wifi gateway.
through the gateways all my other arduinos talk with hass.
the arduinos have tempsensors, humiditysensors, lightsensors, distancesensors, motiondetectors, sounddetectors, relays, etc.
all are working with Hass.
Iāve tried mysensors but they only work with certain hardware.
I have this transceivers from ciseco and iām trying to use them so i donāt have to buy anything new
Do you connect your arduino through mqtt? Im trying to have node-red send messages to my mqtt broker and HASS to read and reply back to interact with each otherā¦ I havent been succesful!
Any ideas?
Im using this for now:
sensor:
platform: mqtt
state_topic: āninjaCape/input/11ā
name: āMovement Sensorā
value_template: ā{% if value == 010101010101010100000000 %} On {% else %} Off {% endif %}ā
however, Im not sure what state topic is node red sending or set. I probably need to find a subscriber that can read TLS (my broker uses it) to determine what subjects are being broadcast?
understood. Yep I have everything within the āhouseā (broker, hassā¦ no mysensors yetā¦ but all hosted within my computer)
noted, since I have the RPi with the ninjacape, not sure if Iāll be able to use the mysensors the same way. in any eventā¦ still waiting to integrate one with the other.
Thanks for the prompt response
you can use an esp8266 with an nrf24 as completly independent sensor anywhere in the house and report through the wifi to hass if you use the mysensors sketch on the esp.
and if you have 1 esp reporting to wifi you can have any number of esp and arduinos reporting to that gateway esp.
I like Sennevds have Ciseco SRF/XRF hardware that Iād like to get working with HASS, but looking at your post, seems that it might be prudent to head down the Arduino route (Ciseco is no longer supported since being bought by another company). Do you have any idiots guides or decent links that bring this alltogether (Arduino/HASS)
hey @Bananaskin iāve made a custom component for the ciseco srf/xrf if you want I will share the code.
Itās far from complete. For example iāve only implemented the switch .
For the arduino ino i use the example WIKISKETCH from LLAPSerial
Hi @Sennevds I decided to look into @ReneTode 's solution, have ordered a NodeMcu ESP8266 and a DHT22 from eBay Ā£7.50 and will use the local mqtt sensor in Home-Assistant. Think the Ciseco allbeit a great platform lacks native support.