oscar-c
oscar-c
我觉得是不是匹配的问题,而是grep在扫过“商务合作付费”之后就坏掉了,所以每次都没能获得有效的userID。 我加了一个 `echo $ret` 在请求 `login.mobile.reg2t.sandai.net` 那一行的后面,然后payName那一栏是是这样的 `"payName":"???????????"` 是编码的原因吧。 我试着在 `$HTTP_REQ https://login.mobile.reg2t.sandai.net:443/ .....` 后面加上了一个 `| iconv -f GB2312"`, `echo $ret`输出的 payName那一栏里就能正经输出“商务合作付费”的中文了,grep也能找到userID了
奇怪的是貌似就只有登录时的回复候需要iconv来转换一下, upgrade的时候的回复虽然也返回中文,但是却没有这种问题。
> Hello! I also had the same error and found a solution for myself. I found a difference between the dht-sensor implementation and the protocol, in particular the low trigger...
The root cause of this problem is mentioned at momenso/node-dht-sensor#116 . To fix this, you'll first need to go to `/usr/local/lib/node_modules/homebridge-dht/node_modules/node-dht-sensor/src`, apply the change [Here](https://github.com/cainpsycode/node-dht-sensor/commit/50811e3ef593ed9b91a1fa2d17a1b4773bde549b), Then go to `/usr/local/lib/node_modules/homebridge-dht/node_modules/node-dht-sensor`, run...
- Select first entry; - scroll to last one; - select last one while holding down Shift; - Right click on any highlighted item; - Select "Delete...". Although this is...
Try upgrade to the latest version 0.0.12. It should look like this  To make the keyboard glyph, you can use the `` tag.