Amazon dash button: Things won't come online, INITIALIZING

The only thing that helped me was to restart the the binding within Karaf:

#!/bin/bash
BUNDLE="org.openhab.binding.amazondashbutton"
if [ "$1" == "kodi" ]
then
	BUNDLE="org.openhab.binding.kodi"
fi
if [ "$1" == "knx" ]
then
	BUNDLE="org.openhab.binding.knx"
fi
if [ "$1" == "mqtt" ]
then
	BUNDLE="org.openhab.binding.mqtt"
fi
echo "Restarting bundle '$BUNDLE'"
/usr/bin/ssh -p 8101 -i /home/user/user.id_rsa uli@localhost "bundle:restart $BUNDLE" 

You could just open karaf and type the

bundle:restart org.openhab.binding.amazondashbutton

bit yourself. To automatize it I used the approach shown here

2 Likes