Bouni / MateDealer

MateDealer, a open source MDB cashless device implementation
58 stars 38 forks source link

What versions of Flask and it's extensions are used here? #4

Open milano-slesarik opened 7 years ago

milano-slesarik commented 7 years ago

I'm trying to make the web interface work but I can't figure out which versions of Flask, Flask-SqlAlchemy etc. should I use. Are there any requirements.txt or description of module versions?

Bouni commented 7 years ago

To be honest, I don't recall what I've used back then. Anyway, the project was never working good enough to be really used in a environment where strangers can approach the machine or the interface.

tkralj commented 5 years ago

Hello, why the project never worked good enough? I'm trying to sniff MDB protocol to catch VEND command from VMC and get actual value of the item. What do you think is the best approach to get vend price or item if on the machine is connected only coin acceptor / changer and no other device. Should i fake cashless device only to sniff MDB port to get VEND or other approach. Your opinion would be much appreciated.

Bouni commented 5 years ago

Hi, the reason is that it workend just sometimes and very inconsistent. My VMC died before I was able to fix these problems. To sniff the bus, you don't need to implement any device! You just have to listen and parse the data according to the MDB Spec. As long as you dont wand to talk to the bus, thats sufficant.

tkralj commented 5 years ago

Thanks for the reply. That's what i found out too about MDB. I've got two different MDB vending machines and they have two different MDB implementations. Secondly i found out that sniffing MDB would not return VEND price when VEND command is issued by VMC. Because of that my first idea was to act as cashless device in order to get vend price from VMC at the moment of vend. Do you know any simpler solution to get vend price from VMC at the moment when user pressess VEND command on the machine.

[softLabLogo87x25] Tomislav Kralj Voditelj razvoja +385 091 724-0724 (mob) tomislav@softlab.hr Softlab obrt S. Radića 16, 10430 Samobor Croatia www.softlab.hr

From: bouni notifications@github.com Sent: Monday, April 8, 2019 9:31 AM To: Bouni/MateDealer MateDealer@noreply.github.com Cc: Tomislav tomislav@softlab.hr; Comment comment@noreply.github.com Subject: Re: [Bouni/MateDealer] What versions of Flask and it's extensions are used here? (#4)

Hi, the reason is that it workend just sometimes and very inconsistent. My VMC died before I was able to fix these problems. To sniff the bus, you don't need to implement any device! You just have to listen and parse the data according to the MDB Spec. As long as you dont wand to talk to the bus, thats sufficant.

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/Bouni/MateDealer/issues/4#issuecomment-480717051, or mute the threadhttps://github.com/notifications/unsubscribe-auth/Af0p6gfMg5gTq3CQwv_Mnf4sVtmkHUMBks5vevAogaJpZM4Mi-aY.

Bouni commented 5 years ago

The product price is sent by the VMC in the VEND REQUEST command, check out my old blog post Section Vend Request