Raspberry PI and Fiware

asked 2021-03-04 09:16:20 +0100

derG2015 gravatar image

Hello,

i wanted to use the Pi with its sensors (SenseHat) to measure the enviroment. Therefore i deployed the Fiware Orion Broker on my Pc and installed Mosquuitto on my Pi. i wanted to use something like freeboard to display the data. But i don't know, what i have to implement in Python script to reach Freeboard. As url or Port etc..

Any help would be appreciated.

edit retag flag offensive close merge delete

Comments

I think you have to install IoTAgent (i.e IoTAgentUL) on your PC and configure it in mqtt mode. Raspberry is the publisher and IoTAgent the subscriber. After configuring and provisioning you can see your data into Orion. Use the Orion's REST APIs to get all measures for displaying.I hope I help you.

pasquy73 gravatar imagepasquy73 ( 2021-03-11 08:41:09 +0100 )edit

Do you want to receive notifications over MQTT? If so, know that Orion doesn't support MQTT at the moment - it's on the roadmap but not quite there yet. Orion-LD *does* support mqtt,

kzangeli gravatar imagekzangeli ( 2021-03-11 09:11:17 +0100 )edit

[ you would create an MQTT subscription in Orion-LD to make it send notifications to mosquitto, and then subscribe to the topic in mosquitto to have the notification "forwarded" over MQTT to your application ]

kzangeli gravatar imagekzangeli ( 2021-03-11 09:11:53 +0100 )edit