Sign inSign up

ventus218/domoticasw-roomba

By ventus218

•Updated about 1 year ago

A Roomba simulated device for testing DomoticASW

Image
0

1.4K

ventus218/domoticasw-roomba repository overview

⁠A Roomba simulated device for testing DomoticASW

⁠Run with docker

docker run -e LAN_HOSTNAME=localhost -e SERVER_DISCOVERY_PORT=30000 ventus218/domoticasw-roomba

The following configurations can be passed to the container as environment variables.

Mandatory ones are marked with a *.

For example:

docker run \
    -e SERVER_DISCOVERY_PORT=30000 \
    -e LAN_HOSTNAME=localhost \
    -e NAME=MyRoomba \
    -e BATTERY=10 \
    ventus218/domoticasw-roomba
Variable nameDefault valueExplanationAdmissible values
IDroombaDevice idAny string unique in the system
NAMERoombaRobot nameAny string
BATTERY50Initial battery level0–100
BATTERY_RATE_MS1000Battery update interval (ms)Integers >= 0
MODEPerformanceInitial modeSilent, Deep cleaning, Performance
CHANGE_ROOM_RATE_MS4000Room change interval (ms)Integers >= 0
ROOMSKitchen, Bedroom, Livingroom, BathroomRooms in the houseComma-separated list of strings
INIT_ROOM(First of the provided rooms)Starting roomOne of the listed rooms
CHARGING_ROOM(Last of the provided rooms)Room with charging stationOne of the listed rooms
STATECleaningInitial robot stateCleaning, Charging, GoingCharging
DISCOVERY_BROADCAST_ADDR255.255.255.255Broadcast address to which send discovery announcesAny valid broadcast address (ex: 192.168.1.255)
*LAN_HOSTNAMELAN hostname that will resolve to the device ipAny valid hostname (ex: roomba1234)
*SERVER_DISCOVERY_PORTPort on which the server expects discovery announcesAny valid port
SERVER_ADDRESSShould be set if roomba is already registered<host>:<port>
PORT8080Port on which the device will listenAny valid port

Tag summary

Content type

Image

Digest

sha256:087e4810f…

Size

284.6 MB

Last updated

about 1 year ago

docker pull ventus218/domoticasw-roomba