TheThingSystem/steward

unable to change mqtt settings

vielmetti opened this issue · 4 comments

When I go to update my mqtt gateway, I get this error message in the log file:

warning: [manage] wss 127.0.0.1 62566 /manage permanent=false, diagnostic=duplicate uuid, videlicet=device/1, requestID=3, event=device creation

and thus I'm unable to connect to the mqtt server that I want to get to (it keeps using the old one).

ed - hi! sorry for the delay in replying.

display/modification of gateway and indicator devices isn't in the HTML5/D3 client -- which is the subject of issue #212 -- so, at present, here is the awful answer:

stop the steward
cd steward/steward
sqlite3 db/database.db
select deviceID,deviceName from devices;
// find the one that reflects your mqtt indicator
// delete from devices where deviceID=xyz;
.quit

also, for your owntracks, are you using android or iOS.

Hi Marshall! Glad to be involved with the project - very impressed with what you are doing.

I'll fix up the database.

I'm using two things for owntracks. For a client, I'm using Android, feeding in my personal location. On a Node Red system, I'm also pulling out Amtrak train location information for Michigan trains, and feeding those in to the same mqtt server.

ed - thanks!

if you're interested in contributing some HTML5/D3 work as you gain familiarity/interesting, that'd be great. we could use another skilled hand on the tiller.

i'd also be interested in hearing how you think we might combine node red with the thingsystem. if you have some thoughts on that, please open up a new issue…

i like owntracks (although i preferred the original name), and run it on both iOS and android.

if you invoke run.sh from the shell, it will print out a bunch of stuff, that may be useful.

+1 to a simple list + delete of cloud services, I ran into this exact same problem (and dived into the DB as well) when trying to set up mqtt brokers/owntracks.