- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
API call to MT40 to switch it on and off
Good day
Can someone show me what the API string looks like that power the MT40 up and down?
I am experimenting with Node Red.
I have a MV2 that sends a signal to a MQTT broker.
When there is movement then a API call must be made to the MT40 to switch it on.
If no movement is detected in 5 minutes then it must switch the MT40 off.
Thanks in advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm not sure if the node-red package is up 2 date and have the api call, but you would need this one https://developer.cisco.com/meraki/api-v1/create-device-sensor-command/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks bud! I will have a look!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I actually managed to switch the MT40 on and off with a python script, so Im making progress!
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are you looking to create a schedule to do the power on or off?
or are you powering down, as and when required ?
Sharing python scripting method could be helpful to others as well 😉
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi there
My son's PC crashed so I had to give him my test PC which the script is on.
When I have my stuff back I will post my solutions here!
Have a great day!
