Replies: 1 comment
-
|
You need to put it as a string(aka. And then when you |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
How can I use hostname instead of ip address for the broker? on this line:
#define BROKER_ADDR IPAddress(xxx.com)
I receive the following error if I replace ip with hostname:
/home/paul/snap/arduino/current/Arduino/HA_binary_sensor/HA_binary_sensor.ino: In function 'void setup()':
HA_binary_sensor:5:35: error: 'xxx' was not declared in this scope
#define BROKER_ADDR IPAddress(xxx.com)
Beta Was this translation helpful? Give feedback.
All reactions