This is a server that controls thermostat using Nature Remo according to api requested by homebridge-thermostat.
-
composer install -
Prepare
.env-
Copy
.env.exampleto.env -
Execute
php artisan key: generateto generate the application key -
Set the access token for Nature Remo Cloud API to
REMO_TOKEN. Access token can be obtained from home.nature.global.
-
Add setting in config.json of homebridge. Examples of necessary settings can be created with php artisan thermostat: config command.
Specify the base uri of the installed server as an argument and execute it.
% php artisan thermostat:config http://localhost:8002 [~/Dropbox/src/http-thermostat-remo]
{
"accessories": [
{
"accessory": "Thermostat",
"name": "Daikin AC 008",
"apiroute": "http://localhost:8002/api/thermostat/9407a43e-ce43-4523-a68c-3bd632626da9",
"maxTemp": 32,
"minTemp": 14
}
]
}