|Description||An MQTT controlled Winkekatze aka Maneki-neko.|
|Persons working on||Aurel|
|Self-organized sessions||create self-organized session|
|Located at village||Village:/dev/lol (silent)|
|Other projects... ... further results|
Our hackerspace in Linz, Austria features an MQTT controlled Winkekatze (Maneki-neko). To be more precise, it can be triggered by giving a Hi5 to the shopping window from outside. Watch the Video. The hands are captured and recognized with a Kinect Camera. See my project CraftUI for more details (https://github.com/aurelw/craftui).
I will bring another Winkekatze to the Camp which will be triggered with the same public MQTT topic. So people in Linz can wave and say Hi to the camp (wish us good luck or whatever). As a next step I want to grow this into a World Wide Winkekatzen network and interconnect more cats and triggers. Let's have one at each hackerspaces and wave to each other. Let's interconnect through our network of cats!
Also if it's on a short notice, It would be great to see more Maneki-nekos on the camp. Just use a microcontroller, (small arduino or ESP) and a cheap RC-Servo.
You can subscribe to our Hi5 "Button" via MQTT:
- Broker: mqtt.devlol.org
- Topic: devlol/h19/mainroom/craftui/button/buttonHi5
- Message: ["UP","DOWN"]
mosquitto_sub -h mqtt.devlol.org -t devlol/h19/mainroom/craftui/button/buttonHi5
These is also another topic where you can send commands to the cat(s).
- Broker: test.mosquitto.org
- Topic: devlol/winkekatze
- Message: ["WINK","WINK3","LIGHT_ON","LIGHT_OFF", "CMD:<rawcmd>"] (more stuff during the camp)
mosquitto_pub -h mqtt.devlol.org -t "devlol/winkekatze" -m "WINK3"
For more interoperability I suggest the following topic layout for future cats.
winkekatze/allcats - topic every cat subsrcibes to
winkekatze/cats/<catname>/cmd - topic a single cat receives command
winkekatze/cats/<catname>/announce - a single cat posts a heartbeat to this topic to indicate liveness and announce it's initial presence.
To find a new cat to send messages to, just subscribe to "winkekatze/cats/+/announce"