Michael Schwartz
Michael Schwartz
``` import { WebSocket } from "https://deno.land/x/[email protected]/mod.ts"; const log = (...args: any) => { console.log(Date.now(), ...args); }; const main = async () => { const ws = new WebSocket('ws://hubitat/eventsocket'); ws.on("open",...
Side note: no retry/reconnect option?
I saw no pong() method in the API, or I would have returned it in the on('ping', ... handler myself 👍 I can look at the other API, but this...
This is using deno in a docker container. Using the code in the previous comment as you requested. Dockerfile: ``` FROM hayd/deno:1.0.0 WORKDIR /app USER deno ADD . /app #...
Also, I have deno installed natively in WSL2/Arch Linux and it errors if I try to deno upgrade.
Your code runs in deno installed natively on my iMac. Same failure :( ``` ws connected! (type 'close' to quit) < { "source" : "DEVICE", "name" : "switch", "displayName" :...
Done.
I like this. I'd like to see something similar for x64. See Pure64 on GitHub. You need a boot sector, like Pure64 (or roll your own) and it needs to...
``` map scan report for harmony-hub (192.168.4.14) Host is up, received user-set (0.020s latency). Scanned at 2018-12-21 18:31:13 PST for 5s Not shown: 65533 closed ports Reason: 65533 conn-refused PORT...
awesome, that worked. Thank you! Maybe a comment in the README.md about this issue, so people aren't so easily lost (like me!).