Jump to content
View in the app

A better way to browse. Learn more.

Universal Devices Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Controls not working

Featured Replies

Posted

I have not really used this node server for anything but to show status until today I tried to setup so I could turn the seat heaters on before heading out without opening the app on my phone but the commands don't seem to work but I can see the state change from action done in the app when I update data. Below is the error I see in the log

 
2022-12-16 20:04:48,965 Command udi_interface.interface ERROR interface:_handleInput: _parseInput: failed climate1.runCmd(SEAT1) unhashable type: 'dict'
Traceback (most recent call last):
File "/var/polyglot/.local/lib/python3.9/site-packages/udi_interface/interface.py", line 795, in _handleInput
self.nodes_internal[item['address']].runCmd(item)
File "/var/polyglot/.local/lib/python3.9/site-packages/udi_interface/node.py", line 165, in runCmd
fun(self, command)
File "/var/polyglot/pg3/ns/EDITED_5/TeslaEVClimateNode.py", line 225, in evSetSeat0Heat
self.TEV.teslaEV_SetSeatHeating(self.EVid, 0, seatTemp)
File "/var/polyglot/pg3/nsEDITED_5/TeslaCloudEVapi.py", line 856, in teslaEV_SetSeatHeating
seats = {{'frontLeft':0},{'frontRight':1},{'rearLeft':2},{'rearCenter':4},{'rearRight':5} }
TypeError: unhashable type: 'dict'

Solved by Panda88

Go to solution

Do you have a more complete debug log (enable debug) - It is very difficult for me to debug this as I do not own a Tesla. I'll take a look tomorrow 

Found a bug - 0.2.16

I have been working on furhter improvements but not released yet

  • Author
38 minutes ago, Panda88 said:

Found a bug - 0.2.16

I have been working on furhter improvements but not released yet

I sent you a PM with a bigger log file no rush with this if you can get it working. Thanks for looking into this.

That’s just a code error. Can’t have a set of dictionaries in Python. Was this node server perhaps converted from nodejs?

I believe I fixed it already - it was one of my first python projects and I have no way to test the control code, as I do not have a car to test it on 

  • Author
18 minutes ago, Panda88 said:

I believe I fixed it already - it was one of my first python projects and I have no way to test the control code, as I do not have a car to test it on 

Sorry the seat heaters still are not working I sent you a log last night on version 0.2.17

  • Solution

0.2.18 hopefully fixes it - there was one more conversion bug in the code

  • Author

Just to put some information here in case someone else has issues. What I have found is the Precondition needs to be activated for the seat heaters to operate but the controls for the seat heaters are still not quite right.

Is there any chance I can get you to try the release in non-production store - There are some fixes there 

I want to release it but do not have a good way to test 

  • Author
10 minutes ago, Panda88 said:

Is there any chance I can get you to try the release in non-production store - There are some fixes there 

I want to release it but do not have a good way to test 

I can check it out later tonight after work. Thank you for working on this.

Thanks - I will be travelling so out of reach for a little while - Not too urgent to check it out - just wanted to get the latest changes in - It seems Tesla changed how they report sleep and this addresses this and some other fixes 

Edited by Panda88

  • Author
4 hours ago, Panda88 said:

Thanks - I will be travelling so out of reach for a little while - Not too urgent to check it out - just wanted to get the latest changes in - It seems Tesla changed how they report sleep and this addresses this and some other fixes 

The one in the non-production store will not install for me there is an Activate button under purchase but when I click  the button nothing happens. Maybe someone else can see if they can install it?

Maybe I can try to rename it 

  • Author

I don't know it says it is free and the other ones that say free the button says install? Maybe because I already did the trial on the original one it will not allow it?

Possible - I am trying to get a new Test_TESLA_EV released

 

Guest
This topic is now closed to further replies.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.