Microsoft Teams: Bot without callback URL RRS feed

  • Question

  • This is my first Microsoft forum post. I haven't had any answers on stack overflow so am posting here.

    I am trying to use Microsoft Teams to control Raspberry Pi Devices.

    Basically I imagine I will write an app to run on the raspberry pi. When it is run the Pi will turn up in the the Microsoft team and say 'hello my ip address is 192.168.x.x' The Pi's have lights attached to them so I want them to listen to the conversation and accept commands via mentions. e.g. @pi turn light on or similar.

    I have been reading the Microsoft Teams bot's API.<<Can't add link>>

    It's all very interesting but I am not sure if a custom bot is what I want:

    A custom bot requires a callback url. My Pi's are behind firewalls so this is impossible. They will need to poll somewhere and retrieve messages.
    I don't want to have to develop (and then pay for and maintain) a gateway webapp to get around 1.
    Is a custom bot the right way to go or do I need to write a Microsoft teams client to run on the Pi's?

    (BTW: I have achieved what I wanted very easily in Slack, I just create a bot and they provide sample python code which once given an API key will poll the server for messages and respond.)
    Tuesday, August 1, 2017 9:04 AM