cant get mqtt to work
did all the things in the mqtt wiki mosquito is connected in domoticz, i have made a dummy temp device idx 8
but where must i type the line: mosquitto_pub -h localhost -m '{ "idx" : 8, "nvalue" : 0, "svalue" : "25.0" }' -t 'domoticz/in'
when i put the line in cmd i get: unknown option idx as an answer
sorry total noob at this.
thanks
edwin
mqtt help
Moderators: leecollings, remb0
-
- Posts: 287
- Joined: Sunday 09 October 2016 20:20
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2021.1
- Location: Nederland
- Contact:
Re: mqtt help
nobody?
-
- Posts: 287
- Joined: Sunday 09 October 2016 20:20
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2021.1
- Location: Nederland
- Contact:
Re: mqtt help
Has this something to do with windows 7?
-
- Posts: 1
- Joined: Tuesday 12 January 2021 12:41
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: mqtt help
Did you ever get this sorted? I've just started trying to use Domoticz, getting the same problem, and it's a bit disconcerting when you fail at the first hurdle! Installed all on a Win10 PC to test before porting to a Raspberry Pi.
Harry
Harry
- FireWizard
- Posts: 1905
- Joined: Tuesday 25 December 2018 12:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Voorthuizen (NL)
- Contact:
Re: mqtt help
Hi,
I'm not that familiar with Windows, but can you check that your MQTT server is running?
If you are using Windows, open up a command prompt and type.
If your server is running, you should be able to see the port 1883.
If you cannot go to Task Manager > Services and start/restart the Mosquitto server from there. If you cannot find it here too, your installation of Mosquitto has not been successful.
If needed find a tutorial at: http://www.steves-internet-guide.com/in ... to-broker/
Regards
I'm not that familiar with Windows, but can you check that your MQTT server is running?
If you are using Windows, open up a command prompt and type
Code: Select all
netstat -an
If your server is running, you should be able to see the port 1883.
If you cannot go to Task Manager > Services and start/restart the Mosquitto server from there. If you cannot find it here too, your installation of Mosquitto has not been successful.
If needed find a tutorial at: http://www.steves-internet-guide.com/in ... to-broker/
Regards
Who is online
Users browsing this forum: No registered users and 1 guest