-
Notifications
You must be signed in to change notification settings - Fork 44
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
vmc never asks for min max price setup, keeps repeating setup step #28
Comments
Hello,
The response should be within 5 ms, but I think it works because you received the config command. Maybe the response is incorrect. You configured the country code for the euro. I think the scale factor should be something like 0x01 (for 1 cent €). |
Here is the whole thing including installers for Waveforms for all major platforms and the code I'm currently running: https://hub.dh274.com/s/ToDrppzJjPWWaXL |
it appears you aren't reading the checksum byte from the reset. I think you need to read h110 and h010, and only after that, respond with an ACK (h100). ...(Corrected in EDIT)... EDIT: |
With your WaveForms log, I noticed something: |
adding EDIT: Reset() never calls JustReset(), it just ACKs the Reset message |
Could you please provide your complete code somehow? |
I just uploaded the current code to https://hub.dh274.com/s/ToDrppzJjPWWaXL (same link as above) |
i noticed in the beginning you send feature level 1 - some machines wont support this, you better bump that to feature level two in setup config data (0x11) and it might help to increase Z7 - maximum response time - to maximum or a suitable middle value for now, to make shure its not the source |
hi friend can you share schematic that you use in this work. Thanks before. |
Hi, I see a little conflict in the Reset() function and the JustReset() function in response to a VMC reset command or VMC poll command. Try this:
try that and update the file log in your nextcloud storage. and yes, like mkrasselt1say, try featureLevel 2, but i think you schould wirte 0x02. |
Now it doesn't respond to reset at all I will upload my code to github I think thats easier |
The VMC never is stuck in a loop of poll and setup, I've tried a few different settings in setup already, but as the vmc ACKs it I'm not sure whats going on.
Screenshot of logic analyzer attached, I'm unable to get a proper export unfortunately
I hope someone can help me with this, I'm stuck
The text was updated successfully, but these errors were encountered: