sushilks/kumojs

InvalidCharacterError communicating with PAC-WHS01WF-E

edsel456 opened this issue · 0 comments

Hello,

I have 8 Mitsubishi air conditioners in my house, each with a kumoCloud module installed. 7 of the 8 have PAC-WHS01WF-E (old) WiFi modules, but one has a PAC-USWHS002-WF-1 (new) WiFi module.

When I use KumoJS to send commands to the new module, located in my kitchen, things work as expected. When I try to send a command to any of the 7 old modules, such as the one located in my office, I get this the following.

All 8 modules work fine with the iOS app, with the exception of the fact that using Mitsubishi's scheduling feature stopped working as soon as I added the new WiFi module to the mix. Unfortunately, the old version is discontinued so I can't create a homogeneous network without purchasing 7 new modules at $175 a pop. This is what led me to try KumoJS.

Any ideas?

Thanks,
-Mat

curl http://127.0.0.1:8084/v0/room/Office/status

PUT:/v0/roomOffice/status
Error when trying to send command {"c":{"indoorUnit":{"status":{}}}} to 192.168.31.103
{ InvalidCharacterError
at /home/mpk/kumo/kumojs-master/node_modules/base-64/base64.js:23:36
at Object. (/home/mpk/kumo/kumojs-master/node_modules/base-64/base64.js:165:2)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object. (/home/mpk/kumo/kumojs-master/build/kumojs.js:12:16)
message: 'Invalid character: the string to be decoded is not correctly encoded.' }