then go to portainer, download the image : lucacalcaterra/risco-mqtt-bridge
make a new container in portainer, the most important is that you need to mount the config.js to that container offcourse
see screenshot here :
so path in container = /app/config/config.js , dont change it
so host volume = /mnt/data/supervisor/homeassistant/risco-mqtt-bridge/config.js (change this)
/mnt/data/supervisor/homeassistant/ => this is actually the /config dir from the hassio container
so if you placed the config.js file directly in /config dir ; change it to : /mnt/data/supervisor/homeassistant/config.js
i just placed my config.js file in a directory called “risco-mqtt-bridge” inside /config
then start the container , look in the log/terminal if you dont see any errors there about
connecting to risco , connecting to mqtt , getting the state …
how download the image : lucacalcaterra/risco-mqtt-bridge?
import image…risco-mqtt-bridge-master .zip?
i cant download the image : lucacalcaterra/risco-mqtt-bridge,i dont know how
im trying to import,build new image,url to a file and cant
im so silly,i know…please help
portainer tell me upload succesfull but i dont see the image
This is great thanks Fabio. I’ve gotten to the point of deploying the container but I’m getting an error while creating mount source path ‘/config/risc-mqtt-bridge/config.js’ : mkdir /config: read-only file system.
I’m running hassio on a raspberry pi. What do you suggest I do now. Do I need to edit the file permissions manually?
Yes I already have the config.js created and it’s in the risco-mqtt-bridge folder. Am I creating the container the right way then, with the volume mapping at the bottom? or do I create it without volume mapping and somehow create those afterwards?
stupid me, I didn’t realise I had to use the same path you had in your example. Once I used that when creating the container it worked. Now to figure out what I need to do to setup a card on the home screen.
Yeh, I’ve got a lot to learn. Don’t really know anything about MQTT or Portainer, so it’s all a bit confusing for me right now, but at least the instructions were clear enough to follow, that it didn’t even matter.
I have found, interestingly yesterday after having disarmed my alarm from within HA, the entity in HA didn’t show it as disarmed. I had to manually set the state. I can only assume HA wasn’t able to poll Risco Cloud and get the disarmed state. @pergola.fabio, how do I confirm where it fell apart? Is there a specific log I can check?