TheWandrr / vedirect_to_mqtt

MIT License
8 stars 5 forks source link

Replace hard coded mqtt server #2

Open TheWandrr opened 3 years ago

TheWandrr commented 3 years ago

Probably to localhost or 127.0.0.1

riker65 commented 3 years ago

can a remote mosquitto host be configured with ip port user password?

TheWandrr commented 3 years ago

Present code doesn't account for this, but when it does adding optional port and password would probably be a good idea.

The quick and dirty way to get this going is to hard code whatever you need to. For a more permanent solution I'd have to research how best to keep it secure.

If you're asking about server configuration, that's beyond the scope here. Some brief Googling reveals plenty of leads.