This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Homewizard websocket
#2
Try sending auth this way:
Code:
client:send(json.encode({
  type = 'authorization',
  data = token,
}))

You might need to wait for authorization_requested to be sent by the server fist before sending the authorization command.
Reply


Messages In This Thread
Homewizard websocket - by gjniewenhuijse - 16.10.2025, 09:20
RE: Homewizard websocket - by admin - 16.10.2025, 09:39
RE: Homewizard websocket - by gjniewenhuijse - 16.10.2025, 09:39
RE: Homewizard websocket - by admin - 16.10.2025, 10:11
RE: Homewizard websocket - by gjniewenhuijse - 17.10.2025, 12:54
RE: Homewizard websocket - by admin - 17.10.2025, 12:58

Forum Jump: