-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Websocket backend #35
Comments
General Handler: uiControl Input: JSON: {"Command":"Command","Args":{List with Args, Identified} Answer: {"Command":"Command",answer:object} |
We should add a function to modify setting of the software and devices! |
all you have to do is make an Comment with the Protocol that should be used (like Above) |
settingsMain Args: {setting:"SettingsName", value:"value"} |
addDevice:
The arguments are not allowed to have the name type because of the Scala interpretation on this word. |
Implemented: |
Example JSON for addDevice: |
… in #35 because the answer should be like {"Command":command,"answer":{answerObject}}.
… in #35 because the answer should be like {"Command":command,"answer":{answerObject}}.
The change of the Data of a Switch should work with the same structure as addSwitch but instead of id it uses oldId and newId this way the handling for the server and the Client is more easy because no one must detect what was changed. |
An backend for Websocket for Website and possible Apps
The text was updated successfully, but these errors were encountered: