look into this: Node-RED POST node
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…
some instructions here https://discuss.ninjablocks.com/t/node-red/1069/113
but I’ll upload a new updated one if you need it. Let me know.
currently struggling with connecting Node-red / HASS / MQTT