nathanwiens / mv-webex-bot

Sends a message via WebEx Teams when people are detected via Meraki MV Cameras
MIT License
4 stars 2 forks source link

no post info in webex teams #1

Open isalazar4826 opened 5 years ago

isalazar4826 commented 5 years ago

hello

Run the bot in python, i run my mosquitto server

when run the script, the mqtt server is running and detectme

payload : {'ts': 1565798970275, 'counts': {'person': 1}}, _MONITORING_TRIGGERED : True, _MONITORING_MESSAGE_COUNT : 4, _MONITORING_PEOPLE_TOTAL_COUNT : 4

to here all is ok

MV Sense Zones Operation Successful - See returned data for results MV Video Link Operation Successful - See returned data for results Device Detail Operation Successful - See returned data for results

but no post nothing in the space .. i add my own bot ,,,qwebexbot , and BOT ID , my personal bearer token , but notinng happen in webex teams

nathanwiens commented 5 years ago

Hello,

I've updated the app to hopefully clear up this issue. Make sure to replace the config.py file as I've moved some variables around.

The script should now output the "message" that is to be sent to Teams, so if the script gets that far and lists the message in the console but you don't get a Teams notification, make sure that your bot has been added to the room you're posting to.