eouia / MMM-Whereis

MagicMirror module to display where someone is (with IFTTT)
MIT License
5 stars 1 forks source link

location not changing. #2

Open JohnLucaJF opened 4 years ago

JohnLucaJF commented 4 years ago

Hi, im cant get this module to work. config for module is { module: "MMM-Whereis", position: "bottom_left", config: { refreshInterval: 1000 * 30, timeFormat: "relative", iconify: "https://code.iconify.design/1/1.0.2/iconify.min.js", enterIcon: "icomoon-free:enter", exitIcon: "icomoon-free:exit", member: { "dad": { title: "Daddy", icon: "emojione-man",
},
"son": {
title: "Luca", icon: "uil-kid" } }, } },

im sending curl -d '{"who":"dad", "location":"work", "enteredorexit":"entered"}' -H "Content-Type: application/json" -X POST "http://192.168.1.157:6523/Whereis"

this is sent from pi mirror is running from, if i try sending from remote i can token error.

in console i get response >see output.txt text refreshes, but location still says unknown. output.txt

thanks

john