question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[tesla] shiftstate changed from UNDEF to P and vice versa

See original GitHub issue

My eventlog is full of shiftstate changed from UNDEF to P and vice versa.

2018-08-14 10:42:45.323 [vent.ItemStateChangedEvent] - Teslarossa_shiftstate changed from P to UNDEF
2018-08-14 10:42:51.246 [vent.ItemStateChangedEvent] - Teslarossa_shiftstate changed from UNDEF to P
2018-08-14 10:43:55.258 [vent.ItemStateChangedEvent] - Teslarossa_shiftstate changed from P to UNDEF
2018-08-14 10:44:08.343 [vent.ItemStateChangedEvent] - Teslarossa_shiftstate changed from UNDEF to P
2018-08-14 10:45:15.326 [vent.ItemStateChangedEvent] - Teslarossa_shiftstate changed from P to UNDEF
2018-08-14 10:45:21.224 [vent.ItemStateChangedEvent] - Teslarossa_shiftstate changed from UNDEF to P
2018-08-14 10:46:25.435 [vent.ItemStateChangedEvent] - Teslarossa_shiftstate changed from P to UNDEF
2018-08-14 10:46:36.280 [vent.ItemStateChangedEvent] - Teslarossa_shiftstate changed from UNDEF to P
2018-08-14 10:47:45.233 [vent.ItemStateChangedEvent] - Teslarossa_shiftstate changed from P to UNDEF
2018-08-14 10:47:51.171 [vent.ItemStateChangedEvent] - Teslarossa_shiftstate changed from UNDEF to P
2018-08-14 10:48:55.159 [vent.ItemStateChangedEvent] - Teslarossa_shiftstate changed from P to UNDEF
2018-08-14 10:49:06.194 [vent.ItemStateChangedEvent] - Teslarossa_shiftstate changed from UNDEF to P
2018-08-14 10:50:15.181 [vent.ItemStateChangedEvent] - Teslarossa_shiftstate changed from P to UNDEF
2018-08-14 10:50:22.241 [vent.ItemStateChangedEvent] - Teslarossa_shiftstate changed from UNDEF to P
2018-08-14 10:51:26.110 [vent.ItemStateChangedEvent] - Teslarossa_shiftstate changed from P to UNDEF
2018-08-14 10:51:36.332 [vent.ItemStateChangedEvent] - Teslarossa_shiftstate changed from UNDEF to P
2018-08-14 10:52:45.154 [vent.ItemStateChangedEvent] - Teslarossa_shiftstate changed from P to UNDEF
2018-08-14 10:52:52.408 [vent.ItemStateChangedEvent] - Teslarossa_shiftstate changed from UNDEF to P
2018-08-14 10:53:55.329 [vent.ItemStateChangedEvent] - Teslarossa_shiftstate changed from P to UNDEF
2018-08-14 10:54:06.402 [vent.ItemStateChangedEvent] - Teslarossa_shiftstate changed from UNDEF to P
2018-08-14 10:55:15.322 [vent.ItemStateChangedEvent] - Teslarossa_shiftstate changed from P to UNDEF
2018-08-14 10:55:21.212 [vent.ItemStateChangedEvent] - Teslarossa_shiftstate changed from UNDEF to P
2018-08-14 10:56:25.234 [vent.ItemStateChangedEvent] - Teslarossa_shiftstate changed from P to UNDEF
2018-08-14 10:56:36.236 [vent.ItemStateChangedEvent] - Teslarossa_shiftstate changed from UNDEF to P
2018-08-14 10:57:45.368 [vent.ItemStateChangedEvent] - Teslarossa_shiftstate changed from P to UNDEF
2018-08-14 10:57:51.235 [vent.ItemStateChangedEvent] - Teslarossa_shiftstate changed from UNDEF to P
2018-08-14 10:58:49.638 [vent.ItemStateChangedEvent] - Teslarossa_shiftstate changed from P to R
2018-08-14 10:59:04.377 [vent.ItemStateChangedEvent] - Teslarossa_shiftstate changed from R to D
2018-08-14 11:03:53.170 [vent.ItemStateChangedEvent] - Teslarossa_shiftstate changed from D to R
2018-08-14 11:03:57.439 [vent.ItemStateChangedEvent] - Teslarossa_shiftstate changed from R to D
2018-08-14 11:04:11.173 [vent.ItemStateChangedEvent] - Teslarossa_shiftstate changed from D to P
2018-08-14 11:07:55.277 [vent.ItemStateChangedEvent] - Teslarossa_shiftstate changed from P to UNDEF
2018-08-14 11:08:06.241 [vent.ItemStateChangedEvent] - Teslarossa_shiftstate changed from UNDEF to P
2018-08-14 11:09:15.284 [vent.ItemStateChangedEvent] - Teslarossa_shiftstate changed from P to UNDEF
2018-08-14 11:09:21.261 [vent.ItemStateChangedEvent] - Teslarossa_shiftstate changed from UNDEF to P
2018-08-14 11:10:25.348 [vent.ItemStateChangedEvent] - Teslarossa_shiftstate changed from P to UNDEF
2018-08-14 11:10:37.228 [vent.ItemStateChangedEvent] - Teslarossa_shiftstate changed from UNDEF to P
2018-08-14 11:11:45.297 [vent.ItemStateChangedEvent] - Teslarossa_shiftstate changed from P to UNDEF
2018-08-14 11:11:51.249 [vent.ItemStateChangedEvent] - Teslarossa_shiftstate changed from UNDEF to P
2018-08-14 11:12:55.218 [vent.ItemStateChangedEvent] - Teslarossa_shiftstate changed from P to UNDEF
2018-08-14 11:13:12.125 [vent.ItemStateChangedEvent] - Teslarossa_shiftstate changed from UNDEF to P
2018-08-14 11:14:15.210 [vent.ItemStateChangedEvent] - Teslarossa_shiftstate changed from P to UNDEF
2018-08-14 11:14:21.106 [vent.ItemStateChangedEvent] - Teslarossa_shiftstate changed from UNDEF to P
2018-08-14 11:15:25.096 [vent.ItemStateChangedEvent] - Teslarossa_shiftstate changed from P to UNDEF
2018-08-14 11:15:37.241 [vent.ItemStateChangedEvent] - Teslarossa_shiftstate changed from UNDEF to P
2018-08-14 11:16:45.403 [vent.ItemStateChangedEvent] - Teslarossa_shiftstate changed from P to UNDEF
2018-08-14 11:16:52.149 [vent.ItemStateChangedEvent] - Teslarossa_shiftstate changed from UNDEF to P
2018-08-14 11:17:55.229 [vent.ItemStateChangedEvent] - Teslarossa_shiftstate changed from P to UNDEF
2018-08-14 11:18:07.149 [vent.ItemStateChangedEvent] - Teslarossa_shiftstate changed from UNDEF to P
2018-08-14 11:19:15.185 [vent.ItemStateChangedEvent] - Teslarossa_shiftstate changed from P to UNDEF
2018-08-14 11:19:21.131 [vent.ItemStateChangedEvent] - Teslarossa_shiftstate changed from UNDEF to P

that’s how my mysql persistance table looks like:

| 2018-08-14 10:20:21 | P     |
| 2018-08-14 10:21:35 | P     |
| 2018-08-14 10:22:52 | P     |
| 2018-08-14 10:24:05 | P     |
| 2018-08-14 10:25:22 | P     |
| 2018-08-14 10:26:36 | P     |
| 2018-08-14 10:27:50 | P     |
| 2018-08-14 10:29:05 | P     |
| 2018-08-14 10:30:21 | P     |
| 2018-08-14 10:31:36 | P     |
| 2018-08-14 10:32:51 | P     |
| 2018-08-14 10:34:07 | P     |
| 2018-08-14 10:35:21 | P     |
| 2018-08-14 10:36:36 | P     |
| 2018-08-14 10:37:52 | P     |
| 2018-08-14 10:39:09 | P     |
| 2018-08-14 10:40:21 | P     |
| 2018-08-14 10:41:36 | P     |
| 2018-08-14 10:42:51 | P     |
| 2018-08-14 10:44:08 | P     |
| 2018-08-14 10:45:21 | P     |
| 2018-08-14 10:46:36 | P     |
| 2018-08-14 10:47:51 | P     |
| 2018-08-14 10:49:06 | P     |
| 2018-08-14 10:50:22 | P     |
| 2018-08-14 10:51:36 | P     |
| 2018-08-14 10:52:52 | P     |
| 2018-08-14 10:54:06 | P     |
| 2018-08-14 10:55:21 | P     |
| 2018-08-14 10:56:36 | P     |
| 2018-08-14 10:57:51 | P     |
| 2018-08-14 10:58:49 | R     |
| 2018-08-14 10:59:04 | D     |
| 2018-08-14 11:03:53 | R     |
| 2018-08-14 11:03:57 | D     |
| 2018-08-14 11:04:11 | P     |
| 2018-08-14 11:08:06 | P     |
| 2018-08-14 11:09:21 | P     |
| 2018-08-14 11:10:37 | P     |
| 2018-08-14 11:11:51 | P     |
| 2018-08-14 11:13:12 | P     |
| 2018-08-14 11:14:21 | P     |
| 2018-08-14 11:15:37 | P     |
| 2018-08-14 11:16:52 | P     |
| 2018-08-14 11:18:07 | P     |
| 2018-08-14 11:19:21 | P     |
| 2018-08-14 11:20:38 | P     |
| 2018-08-14 11:21:51 | P     |
| 2018-08-14 11:23:07 | P     |
| 2018-08-14 11:24:22 | P     |
| 2018-08-14 11:25:37 | P     |
| 2018-08-14 11:26:52 | P     |
| 2018-08-14 11:28:07 | P     |
| 2018-08-14 11:29:22 | P     |
| 2018-08-14 11:29:58 | R     |
| 2018-08-14 11:30:13 | D     |
| 2018-08-14 11:35:48 | R     |
| 2018-08-14 11:36:01 | D     |
| 2018-08-14 11:36:12 | P     |
| 2018-08-14 11:39:07 | P     |
| 2018-08-14 11:40:22 | P     |
| 2018-08-14 11:41:37 | P     |

I’ve got 20000 rows in a couple of days.

Expected Behavior

I would suspect to see just a change of the shiftstate in the DB. That makes easier to run querys and don’t mess up the whole table.

| 2018-08-14 10:57:51 | P | | 2018-08-14 10:58:49 | R | | 2018-08-14 10:59:04 | D | | 2018-08-14 11:03:53 | R | | 2018-08-14 11:03:57 | D | | 2018-08-14 11:04:11 | P |

Your Environment

I’ve got openhab2 / addons Version: 2.4.0~20180813124523-1 on Raspberry PI 3 / Raspbian jessie

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
kgoderiscommented, Aug 24, 2018

@wborn @bassmaster187 Nope. Sorry, it has nothing to do with the binding itself, it is the Tesla back-end that is acting weird and sending out sh*t data

0reactions
hmerkcommented, Jul 25, 2021

closed due to inactivity

Read more comments on GitHub >

github_iconTop Results From Across the Web

hip internal rotation: Topics by Science.gov
The hip rotators change function depending on hip angle. ... a model that varied hip flexion-extension while keeping rotation constant, and vice versa....
Read more >
qt9z8944d4_noSplash_797be2c...
Additionally, profound changes in labor relations, social services, retirement patterns, and the medical and cultural stretching of middle age into later ...
Read more >
NHT-310 User Manual - RAMayes
UNIT: changes the field measurement unit. Pressing the button for 10 seconds it is possible to change the temperature unit from °C to...
Read more >
Solarfly Thrustmaster Warthog Profile for 3.0 AMA! : r/starcitizen
In case anyone is looking, it's now under the Warthog product page: ... a keyboard command and invert a state (eg. coupled flight...
Read more >
DE112013002799T5 - Voice instructions during navigation - Google ...
Some embodiments use a cinematic transition from the 2D map view to the 3D map view or vice versa. For example, if the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found