jnsbyr / esp8266-intexsbh20

MQTT WiFi remote control for the Intex PureSpa SB-H20 and SJB-HS whirlpools
Other
63 stars 20 forks source link

MQTT Server/Broker IP #24

Closed Telo87 closed 1 year ago

Telo87 commented 1 year ago

Is ist possible to enter the IP of the MQTT-Server in the config.json? Or what do I have to change to make it work?

jnsbyr commented 1 year ago

I would assume yes, but documentation of the underlying API PubSubClient::setServer is a little unspecific in this regard, just saying "the address of the server".

This is an overloaded function call so it would be possible to switch to the IP specific function variant if necessary, but it is probably much easier to just give it a try. A web searched regarding this question indicates that it will work (e.g. http://www.steves-internet-guide.com/using-arduino-pubsub-mqtt-client/).

In the config file it would look like this: "mqttServer": "1.2.3.4",

Telo87 commented 1 year ago

Thanks for the quick response. I use iobroker with the mqtt broker as server. My other mqtt clients all work, but the intex project just won't work. Unfortunately I have no idea if the problem is with the ESP, the wiring or the software. The ESP is connected to the WLAN and can also be pinged.

Below are some pictures of my configuration: config.json grafik

iobroker Server grafik

iobroker Client grafik

Do the data points have to be added manually at iobroker?

Many Thanks

jnsbyr commented 1 year ago

I have no experience with the iobroker myself. Maybe someone else can provide more specific help. Here are some general ideas: