Skip to content

v2.0.0

Compare
Choose a tag to compare
@dxdc dxdc released this 06 Jul 11:51
· 2 commits to master since this release
ca3acfb

BREAKING: Due to the overhaul of the configuration parameters, if you use config-ui-x, you will need to update your configuration parameters to see them properly in the web UI. Existing settings should still continue to function for the time being, however.

Simplify config / deprecate older parameters

Renamed Properties:

Old Property Name New Config Name
map_send_jsonata send_pos_jsonata
position_interval pos_poll_ms
position_jsonata pos_jsonata
position_url pos_url
response_lag response_lag_ms
success_codes http_success_codes

Deprecated Properties:

Old Property Name Status
up_url Replace string with url object
down_url Replace string with url object
stop_url Replace string with url object
http_method Part of new url object (method property)
http_options Part of new url object
max_http_attempts maxAttempts property in url object
retry_delay retryDelay property in url object
motion_down_time Replaced with motion_time_graph
motion_up_time Replaced with motion_time_graph

Support for motion time zones (#43, #70) in config, e.g.

    "motion_time_graph": {
        "up": [
            { "pos": 0, "seconds": 0 },
            { "pos": 1, "seconds": 9.25 },
            { "pos": 10, "seconds": 11.09 },
            { "pos": 99, "seconds": 24.72 },
            { "pos": 100, "seconds": 24.87 }
        ],
        "down": [
            { "pos": 100, "seconds": 0 },
            { "pos": 50, "seconds": 6.8 },
            { "pos": 1, "seconds": 15.35 },
            { "pos": 0, "seconds": 23.72 }
        ]
    },