Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PurpleHat doesn't seem to be assigning DCC addresses from JMRI file for speed profiling #44

Closed
Jay2645 opened this issue Jan 7, 2023 · 3 comments

Comments

@Jay2645
Copy link

Jay2645 commented Jan 7, 2023

I'm trying to connect my Purplehat to a WiThrottle server, running IOTT Stick firmware version V1.5.19 (latest). However, I've noticed I'm having issues trying to run the speed profiler.

Below, you can see that Purplehat has a connection to my WiThrottle server - the IOTT stick has the IP address 192.168.45.2. However, you can also see that despite having a JMRI roster entry loaded the DCC address is still "n/a".
image

I can't seem to do anything to get it to respond or manually set the roster entry, either (I don't have a Loconet system to connect to).

Additionally - and maybe this is unrelated - the IOTT stick itself is not responding to the power button being held down. I can still cycle through the screens with the "main" button and I can still restart the stick from the web interface (restarting in the web UI doesn't seem to help at all, but I can see the uptime reset). It appears I'll have to wait for the battery to drain to turn the stick off and try again.

@tanner87661
Copy link
Owner

Thanks for reporting. I was able to replicate the problem, now looking into it. In the meantime, please try to install this older version 1.5.13:
https://www.dropbox.com/s/sl1auqaj70cx3qk/M5Update.zip?dl=0

See if with that version the power off button works. It might be hardware related though, sometimes, they really need a firm press.

@Jay2645
Copy link
Author

Jay2645 commented Jan 8, 2023

I'm still getting the same behavior on that firmware. 🤔

I can give it a good hard squeeze and I can feel/hear the "click" of the button getting engaged, but it doesn't seem to be powering off. It doesn't seem to want to control the locomotive over WiThrottle either.
image

But I'm glad you were able to reproduce! Let me know if you need anything else from me, and thanks a lot for making this. :)

@tanner87661
Copy link
Owner

Made some changes to WiThrottle Client and Server. Also fixed some other issues with data collection in Imperial mode.
Get a temporary test version here: https://www.dropbox.com/sh/e7qv4i86zeepr6i/AAACqWPWHpb0z4jN0Fhd_o5Ua?dl=0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants