Comments (7)
@Merphun I wrote a quick and dirty script to connect ioBroker states with gBridge https://github.com/blackrozes/ioBrokerScripts/blob/master/gbridge.js. Perhaps that helps.
from gbridge.
Hello,
thank you. It works like a charm!
br
Mike
from gbridge.
Hi,
since the last update of gBridge, you can now assign own MQTT topics per device!
from gbridge.
Hi,
if you could point me in the right direction regarding updating gbridge without loosing all my settings (I use your docker composer files) I will happily test it
br
Mike
from gbridge.
To be honest, I didn't really think about updating docker containers until now...
It should work the following way by only updating the gBridge containers. Your data is stored in the database, it should not be touched by these commands.
To be safe, back up your database first:
sudo docker-compose exec database /usr/bin/mysqldump -u gbridge_db --databases gbridge_db -p
Enter the MYSQL_PASSWORD from the compose file once prompted. Save the output of this command, so your data could be restored in the case of a serious problem.
Start the upgrade.
Prefix each command with "docker-compose"
stop
pull web
pull redis-worker
up
This should lead to recreation of the containers "web" and "redis-worker", but "database" and "cache" should remain as they are. Abort docker-compose up
after it initialized correctly, then start the containers in the background with docker-compose start
.
Migrate the database:
docker-compose exec web php artisan migrate
Open the web interface, click the edit button for one device of your choice. Click on save on this page, without necessarily making changes. (This will lead to same background processes being triggered).
from gbridge.
Hi,
thanks for pointing me into the right direction. The Update worked this way smooth and witout problems on synology. Just two additions (if youm plan to update your manual with this):
- First you have to Navigate to the directory where gbroker has been installed ;-)
- Second on synology it was necessary to run the docker-compose commands as sudo
I'll test the new functionality asap, thanks!
Mike
from gbridge.
Thanks for testing, I'm going to add these points to the docs.
Please re-open the issue or comment if there are any further questions.
from gbridge.
Related Issues (20)
- this site is down ?
- Mqtt connection via PubSubClient on ESP12/32 fails HOT 1
- Repeating messages (Spam from gbridge) HOT 1
- Fan speed setting causes a page error
- Device mode does not match
- mosquito_sub Connection Refused: not authorised. HOT 23
- Code not up to date
- Self-hosted version tutorial (w/o Docker) HOT 19
- confirmation email yet
- gBridge : status topic is not working.
- Support contact emails? HOT 6
- Turn this service into an open-source community project HOT 3
- Server Down? HOT 10
- Mqtt connection fails after working for a couple of days. HOT 1
- ColorSetting RGB documentation missing
- Cannot seem to have @ symbol in password
- Self-Hosted Linking "Invalid Redirect Request" HOT 2
- Page expired error - Account linking HOT 1
- Google Actions changed from home control to Smart Home HOT 11
- Status Topic Same for all devices
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gbridge.