UniversalDevicesInc/polyglot-v2

customparamsdoc not working

Closed this issue · 1 comments

I have been trying to figure out all weekend why the customparamsdoc is not working in the official udi dockerfile version that is using node:10-alpine. In the Tesla nodeserver for example, the customer parameters that show the key fields for username and password never appear. If I run my own dockerfile that uses debian:stretch and installs the binary, I don't have this issue. I would like to use the node:alpine-10 version due to the smaller size of the package. The problem seems to be something in the git repository. Any ideas? Below is the part of the log that does not show up in the node:10-alpine version. Also screenshots with the customparamsdoc working and not in the node:10-alpine version.

12/16/2019, 2:49:03 PM - debug: MQTTP: nsCommand Message {"customparamsdoc":"Configuring this node server Before saving the following information, please make sure your car is awake. To wake your car it is sufficient to go into the Tesla app on your phone. Please enter your Tesla account email and password. Once entered, you should see your vehicle node appear in the admin console. You may have to restart the admin console. You can also fine tune how often the node data is refreshed by configuring the Short Poll. The Long Poll is not used. ","node":"1"}
12/16/2019, 2:49:03 PM - info: Tesla(1): Processing command: customparamsdoc

12/16/2019, 2:49:03 PM - info: NS: Received updated customParamsDoc for Tesla. Updating database.
12/16/2019, 2:49:03 PM - info: NS customParamsDoc: Tesla saved sucessfully

Screen Shot 2019-12-16 at 8 49 45 AM
Working in the debian:stretch with binary install

Screen Shot 2019-12-15 at 11 25 17 PM
Not working in the node:10-alpine version.

Not sure anyone actually looked at this, but it is now fixed in the latest 2.2.8 version. However, new Python3.8 errors exist in other Nodeserver installations. Will open new ticket.