Skip to content

Latest commit

 

History

History
26 lines (15 loc) · 1.69 KB

README.md

File metadata and controls

26 lines (15 loc) · 1.69 KB

LimitOS

Websocket control for IoT devices: https://limitos.com .

Client Activation Notes

To use LimitOS with your Raspberry Pi, please see the activation documentation at https://limitos.com/docs/activation .

Auto-Update Functionality

Raspberry Pi Clients: Every 1 hour, the LimitOS Node.js script will automatically attempt to update to the latest version. Please be aware that by installing LimitOS on your Raspberry Pi you are explicity agreeing to this functionality.

Self-Hosted Server Installation Notes

If you're running your own server, you can modify some configuration settings at config/limitos.yml .

Please note the commercial limitations when running your own server, which can be found at https://limitos.com/ .

After the LimitOS application has been installed, run the following command so that automated tasks are run correctly:

bundle exec whenever --update-crontab limitos --set environment=production --roles=app,web,db

If you're also running the video server, it should be run via Node.js, and certain URL patterns will have to be proxied to ports 8081 and 8082. Please see the example Nginx configuration for reference:

# for video from devices
location /video_from_devices {
proxy_pass http://localhost:8081;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
}
# for video to clients
location /video_to_clients {
proxy_pass http://localhost:8082;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
}
.

If you need additional help setting up a server, please contact us at [email protected] .

Auto-Update Functionality

Self-Hosted Servers: Every 5 minutes, the LimitOS server application will automatically attempt to update to the latest "master" branch version on GitHub at https://github.com/llawlor/LimitOS . Please be aware that by running a self-hosted LimitOS cloud server you are explicity agreeing to this functionality.