Droplet hostname convention
The present convention for hostnames for the Droplet is “DropletXXXXXXXXXXXX” where XXXXXXXXXXX is a lowercase, 12 hexadecimal character string representing the first Ethernet NICs MAC address on the droplet. This ID also matches what is on the label and QR code (note: QR code is uppercase).
# The following regex may suit your needs, it includes the suffix for the local network
r"^Droplet[a-f0-9]{12}\..*$"
Droplet outbound connections
URL | Port | Service | Reason |
---|---|---|---|
sshpi.switchdin.com |
22 |
SSH |
Droplet-initiated interactive device management sessions |
mqtt.switchdin.com |
1883/8883 |
MQTT/MQTTS |
SwitchDin platforms |
80 |
HTTP |
Simple webserver endpoint to confirm internet connectivity. | |
0.debian.pool.ntp.org time1.google.com |
123 |
NTP |
NTP time sync - essential on the Droplet One to keep the Droplet’s clock synchronised. The Droplet Plus contains an RTC and will keep time without NTP. Synchronisation is still strongly recommended. |
api.ipify.org |
80 | HTTP | Determine public IP in droplet/networking.py |
DNS |
53 |
DNS (UDP) |
Domain name resolution |
local network multicast |
5353 |
Avahi (UDP) |
Local network service discovery |
Droplet inbound connections
Interface/Port |
Protocol | Reason |
---|---|---|
all/22 |
SSH |
Allows for re-provisioning/administering returned Droplets |
all/88 |
HTTP |
Allows for configuration of the Droplets WiFi interface. The SwitchDin Mobile app communicates with this port directly. |
all/5355 |
LLMNR |
LLMNR (Link-Local Multicast Name Resolution) - protocol based on Domain Name System (DNS) |
all/5353 UDP |
Avahi |
Enable service discovery for some compatible devices. |
Important note: If you are assigning dedicated IP to devices on your network, please ensure that the droplet is on the same subnet as the device (inverter/battery/meter).