EthernetBonjour (community library)


Name Value
Name EthernetBonjour
Version 1.0.1
Installs 456
License GNUGPL
Author @moflome
Download .tar.gz
All Versions 1.0.1, 1.0.0

Bonjour MDNS ZeroConfigure service for Particle Photon, port of Arduino EthernetBonjour for use with Apple HomeKit

Example Build Testing

Device OS Version:

This table is generated from an automated build. Success only indicates that the code compiled successfully.

Library Read Me

This content is provided by the library maintainer and has not been validated or approved.


A Particle library for IP based MDNS services, for use with Apple's HomeKit.


This library is a port of the EthernetBonjour service for Arduino, copyright (C) 2010 Georg Kaindl.


Connect Photon hardware, add the EthernetBonjour library to your project and follow this simple example:

// Create a UDP service for use by MDNS
UDP udp;

// Create a TCP/HTTP service for local discovery and HAP accessory handling
TCPServer server = TCPServer(80);

// Create a EthernetBonjour service for MDNS registration & discovery
EthernetBonjourClass Bonjour;

void setup() {
Particle.publish("EthernetBonjour Setup");

String localIP = WiFi.localIP();
Particle.publish("Announced from ", localIP );



// Initialize EthernetBonjour service with local UDP reference
Bonjour.setUDP( &udp );

// Begin MDNS registration servcie with the name of the HAP accessory (will appear in Apple Home)

// Start MDNS registration with TCP based service, using special HAP TXT records encoded as c-string


void loop() {

// Process MDNS UDP traffic once per loop;

See the examples folder for more details.


More information online at GitHub


Copyright (c) 2017 @moflome, copyright (C) 2010 Georg Kaindl.

EthernetBonjour is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

EthernetBonjour is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with EthernetBonjour. If not, see

Browse Library Files