Open source cloud replacement for Conga vacuum robots enabling local-only operation
View the Project on GitHub congatudo/Congatudo
Getting Started Why Congatudo? Congatudo or Valetudo Supported Robots Buying supported robots Donate to the proyect
Robot setup Home Assistant Installation Docker installation Standalone installation
Valetudo Companion (Android) Valetudo Tray Companion (Windows) Valeronoi Lovelace Valetudo Map Card I can't believe it's not Valetudo node-red-contrib-valetudo Fun & Games
MQTT Home Assistant Node-RED openHAB
Conga, Files to backup Troubleshooting Empower your Conga voice Map Segments Add SSH Key Hey Google Clean My Room Get area and time in Home Assistant from Congatudo Clean me Time and Tank Virtual Sensors Recovery root password Change schedule
Building and Modifying Congatudo Congatudo core concepts MQTT
These are instructions for quickly setting up an environment where you can build and modify Congatudo according to your needs.
Please note that working with Congatudo requires at least NPM v7 and Nodejs v15.
cd ~
git clone https://github.com/congatudo/Congatudo.git
cd Congatudo
npm install
npm run start:dev --workspace=backend
CTRL + C
On first launch, Congatudo will generate a default config file at the location set in the VALETUDO_CONFIG_PATH
environment variable and automatically shut down, because it won’t be able to autodetect the robot it is running on.
The start:dev
script chooses ./local/valetudo_config.json
, relative to the root of the project, as the config location.
You need to edit the newly created file in order to be able to talk with your robot from your dev host:
{
"embedded": false,
"robot": {
"implementation": "CecotecCongaRobot",
"implementationSpecificConfig": {
"ip": "0.0.0.0",
}
}
}
Setting embedded to false
disables all functionality that assumes that Congatudo runs on the robot such as some file-system related things.
For a list of possible values for implementation
consult the robot implementations in
https://github.com/congatudo/Congatudo/tree/master/backend/lib/robots.
Congatudo is also capable of running without a real robot. The MockRobot
implementation provides a virtual robot
that has a few basic capabilities. It requires no further implementation specific configuration.
The config key robot
specifies the CecotecCongaRobot implementation Congatudo should use as well as some implementation-specific configuration parameters.
When running on the robot itself, these are usually detected automatically.
Please note that Congatudo will replace the configuration with a default one if it fails to parse it correctly.
You can configure the logfile location using the VALETUDO_LOG_PATH
environment variable. By default, it uses the system temporary directory (os.tmpdir()
). If you prefer to log only to stdout during development, set the variable as follows:
VALETUDO_LOG_PATH=/dev/null
VALETUDO_LOG_PATH=\\\\.\\NUL
(That’s four backslashes, a dot, two backslashes, and NUL. Escaping may cause it to display differently.)
npm run start:dev --workspace=backend
If your configuration is correct, Congatudo should now be working on your development host.
Modify the source code according to your needs, and restart the server as needed – you can always run it as:
npm run start:dev --workspace=backend
When you’re done with your modifications, here’s how to build the executable for the robot:
npm run build
The output file valetudo
is a binary file that you can copy to the device:
scp ./build/armv7/valetudo root@vacuum:/usr/local/bin/
Once you’re that far, you hopefully don’t need any further advice.
Open source cloud replacement for Conga vacuum robots enabling local-only operation
View the Project on GitHub congatudo/Congatudo
Getting Started Why Congatudo? Congatudo or Valetudo Supported Robots Buying supported robots Donate to the proyect
Robot setup Home Assistant Installation Docker installation Standalone installation
Valetudo Companion (Android) Valetudo Tray Companion (Windows) Valeronoi Lovelace Valetudo Map Card I can't believe it's not Valetudo node-red-contrib-valetudo Fun & Games
MQTT Home Assistant Node-RED openHAB
Conga, Files to backup Troubleshooting Empower your Conga voice Map Segments Add SSH Key Hey Google Clean My Room Get area and time in Home Assistant from Congatudo Clean me Time and Tank Virtual Sensors Recovery root password Change schedule
Building and Modifying Congatudo Congatudo core concepts MQTT