projects:sonoff
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
projects:sonoff [2016/09/19 19:06] – [Sharing] adm-jan | projects:sonoff [2016/09/19 19:32] – [Sharing] adm-jan | ||
---|---|---|---|
Line 381: | Line 381: | ||
<file javascript user-b to server> | <file javascript user-b to server> | ||
{ | { | ||
- | " | + | " |
- | " | + | " |
- | " | + | " |
- | " | + | " |
- | " | + | " |
" | " | ||
} | } | ||
</ | </ | ||
- | <file javascript server to user a> | + | <file javascript server to user-a> |
{ | { | ||
- | " | + | " |
- | " | + | " |
- | " | + | " |
- | " | + | " |
- | " | + | " |
} | } | ||
</ | </ | ||
- | ** Important ** | + | // |
- | The sharing process is dealt out between two users and the server. The server is the router here. | + | |
If a device is not shared with your account, the server will not route through messages to the device. | If a device is not shared with your account, the server will not route through messages to the device. | ||
On the other hand, the device does //not// know anything about it's owner or who is allowed to control it. | On the other hand, the device does //not// know anything about it's owner or who is allowed to control it. | ||
- | Nothing holds you back from directly talking to a Sonoff device. It will accept any command from anyone. | + | **Nothing holds you back from directly talking to a Sonoff device. It will accept any command from anyone.** |
===== ESP8266 ===== | ===== ESP8266 ===== | ||
==== Sonoff firmware ==== | ==== Sonoff firmware ==== |
projects/sonoff.txt · Last modified: 2016/09/19 20:19 by adm-jan