This document describes ways to ensure your Wyebot sensor will maintain the same IP address. It is often useful to have fixed IP addressing for permanent infrastructure devices like switches and servers. The default behaviour of the Wyebot sensor is to use DHCP to obtain an IP address for its wired interface. There are multiple ways to assign a fixed IP address to the wired port on the sensor
Define a lease reservation on your DHCP server for the MAC address of the wired port on the Wyebot sensor. Your DHCP will offer the same IP address whenever the Wyebot sensor connects to the switch port.
Advantages of using the DHCP lease reservation method:-
This method requires that a sensor must first connect and be Active on the Wyebot cloud dashboard before it’s configuration can be changed to use a static IP address for future communication with the Wyebot cloud.
Note that the sensor will reboot when IP addressing is changed in this way.
If a sensor has an incorrectly configured static IP address for the network it is connected to, it will not be able to access the Wyebot cloud. There are two options to recover a sensor in this state:
Factory reset the sensor, or
Sensor reverts to Fallback Mode.
Factory Reset a Sensor
A sensor can be reset to factory default settings (including all network settings) by using the Reset button located next to the ethernet port. Using a paperclip, hold the Reset button in until all LEDs turn green and then amber (approximately 6 seconds). After a factory reset, the sensor will revert back to a wired connection with DHCP.
Fallback Mode
If a sensor is configured with a static IP address and it cannot connect to the cloud, after 3 minutes it will enter Fallback Mode. In this mode, the sensor will attempt to get an IP address from DHCP to connect to the cloud. The sensor will continuously alternate between attempting to connect using its static IP and DHCP until it is able to connect to the cloud. The sensor will continue to stay in whichever mode it was in when it connected to the cloud until the next reboot.