Thanks @Wotever for your great work! I have a question, I hope you can help me. Is it possible increase the number of buttons available (in the first post you write maximum n.8 units) and add some rotary encoders?
Thanks
// ----------------------- ADDITIONAL BUTTONS ---------------------------------------------------------------
// https://www.arduino.cc/en/Tutorial/InputPullupSerial
// ----------------------------------------------------------------------------------------------------------
int ENABLED_BUTTONS_COUNT = 1; //{"Group":"ADDITIONAL BUTTONS","Name":"ENABLED_BUTTONS_COUNT","Title":"Additional buttons (directly connected to the arduino) buttons count\r\n0 = disabled, >0 = enabled","DefaultValue":"0","Type":"integer","Template":"int ENABLED_BUTTONS_COUNT = {0};"}
int BUTTON_PIN_1 = 3; //{"Group":"ADDITIONAL BUTTONS","Name":"BUTTON_PIN_1","Title":"1'st Additional button digital pin","DefaultValue":"3","Type":"integer","Template":"int BUTTON_PIN_1 = {0};","Condition":"ENABLED_BUTTONS_COUNT>=1"}
int BUTTON_PIN_2 = 3; //{"Group":"ADDITIONAL BUTTONS","Name":"BUTTON_PIN_2","Title":"2'nd Additional button digital pin","DefaultValue":"3","Type":"integer","Template":"int BUTTON_PIN_2 = {0};","Condition":"ENABLED_BUTTONS_COUNT>=2"}
int BUTTON_PIN_3 = 3; //{"Group":"ADDITIONAL BUTTONS","Name":"BUTTON_PIN_3","Title":"3'rd Additional button digital pin","DefaultValue":"3","Type":"integer","Template":"int BUTTON_PIN_3 = {0};","Condition":"ENABLED_BUTTONS_COUNT>=3"}
int BUTTON_PIN_4 = 3; //{"Group":"ADDITIONAL BUTTONS","Name":"BUTTON_PIN_4","Title":"4'th Additional button digital pin","DefaultValue":"3","Type":"integer","Template":"int BUTTON_PIN_4 = {0};","Condition":"ENABLED_BUTTONS_COUNT>=4"}
int BUTTON_PIN_5 = 3; //{"Group":"ADDITIONAL BUTTONS","Name":"BUTTON_PIN_5","Title":"5'th Additional button digital pin","DefaultValue":"3","Type":"integer","Template":"int BUTTON_PIN_5 = {0};","Condition":"ENABLED_BUTTONS_COUNT>=5"}
int BUTTON_PIN_6 = 3; //{"Group":"ADDITIONAL BUTTONS","Name":"BUTTON_PIN_6","Title":"6'th Additional button digital pin","DefaultValue":"3","Type":"integer","Template":"int BUTTON_PIN_6 = {0};","Condition":"ENABLED_BUTTONS_COUNT>=6"}
int BUTTON_PIN_7 = 3; //{"Group":"ADDITIONAL BUTTONS","Name":"BUTTON_PIN_7","Title":"7'th Additional button digital pin","DefaultValue":"3","Type":"integer","Template":"int BUTTON_PIN_7 = {0};","Condition":"ENABLED_BUTTONS_COUNT>=7"}
int BUTTON_PIN_8 = 3; //{"Group":"ADDITIONAL BUTTONS","Name":"BUTTON_PIN_8","Title":"8'th Additional button digital pin","DefaultValue":"3","Type":"integer","Template":"int BUTTON_PIN_8 = {0};","Condition":"ENABLED_BUTTONS_COUNT>=8"}
int BUTTON_PIN_9 = 3; //{"Group":"ADDITIONAL BUTTONS","Name":"BUTTON_PIN_9","Title":"9'th Additional button digital pin","DefaultValue":"3","Type":"integer","Template":"int BUTTON_PIN_9 = {0};","Condition":"ENABLED_BUTTONS_COUNT>=9"}
int BUTTON_PINS[] = { BUTTON_PIN_1, BUTTON_PIN_2, BUTTON_PIN_3, BUTTON_PIN_4, BUTTON_PIN_5, BUTTON_PIN_6, BUTTON_PIN_7, BUTTON_PIN_8, BUTTON_PIN_9 };
It’s a shame , I could make my new steering wheel completely with simhub.For the rotary encoders, sadly despite my numerous attempts to get them properly working I could not get an accurate result, they are always losing steps, or interfering with the serial port , causing out of sync displays
Hello Wotever,
Been doing more testing and dash designing for ETS2... I still miss funbit's telemetry, maybe there are small differences with nlhans' but some crucial ones are missing:
- No time before rest
- No job remaining time
- No in-game time... clearly a missing channel in the nlhans telemetry, the raw time is just a timestamp which gets reset every time you restart the game, he needs to pull in the "absolute time" channel which is missing; no timescale channel either so can't even simulate it
- So no good way to know what's going on about in-game time (am I late? Do I need rest soon?...), all I have is absolute job deadline and navigation time left, useless without in-game time to figure out if I am late or not
Anyway, just a few things you may already have in your backlog about web rendering, to have it match the WPF:
- Rectangular gradient does not work
- Text boxes size do not limit text (i.e. text "overflows" whatever the wrap option)
- Italics doesn't render for me
Merci encore for the high quality software, support and fast release cycle!
Wow, you are awesome! I've rarely seen such great developer, high quality works and who listens to users and takes into account so many comments and requests to reach a near-perfect product (Aida folks are another team I pay tribute to).
If you can enhance the plugin part that would be so great, I was thinking about taking a look myself but I'm more of a linux/C guy and not sure where to start on Windows...
Thanks for the other fixes. As for gradient I would send you to the same dash as before, you can see a rectangular gradient below the Scania logo on WPF but not on the web renderer: https://drive.google.com/drive/folders/0B1bFZC1WPqzvUGtxdEptRkJlUG8?usp=sharing
I didn't mention some minor alignment differences on text in boxes between Chrome and FF, I guess these minoir glitches are more to be fixed by the browser folks...
Goodnight friend. I tried, but I can not connect the simhu with the dirts (4 and rally). I have configuardo the .xml in this way:Hi !
Have you checked the troubleshooting guide ?
https://github.com/zegreatclan/Asse...ub-Basics----Games-config-and-troubleshooting
Simhub fully works without license, license only unlocks fast refresh speed and some advanced comfort features.
<motion_platform>
<dbox enabled="true"/>
<udp enabled="true" delay="1" port="20777" ip="127.0.0.1" extradata="3"/>
<custom_udp enabled="true" delay="1" port="20777" ip="127.0.0.1" filename="packet_data.xml"/>
<fanatec enabled="true" ledTrueForGearsFalseForSpeed="true" wheelVibrationScale="1.0" pedalVibrationScale="1.0"/>
<motion_platform>
<dbox enabled="true"/>
<udp enabled="true" delay="1" port="20777" ip="127.0.0.1" extradata="3"/>
<custom_udp enabled="false" delay="1" port="20777" ip="127.0.0.1" filename="packet_data.xml"/>
<fanatec enabled="true" ledTrueForGearsFalseForSpeed="true" wheelVibrationScale="1.0" pedalVibrationScale="1.0"/>
<dbox enabled="true"/>
<udp enabled="true" delay="1" port="20777" ip="127.0.0.1" extradata="3"/>
<udp enabled="true" delay="1" port="20779" ip="127.0.0.1" extradata="3"/>
<fanatec enabled="true" ledTrueForGearsFalseForSpeed="true" wheelVibrationScale="1.0" pedalVibrationScale="1.0"/>
Hi !
For dirt 4 you config is incorrect ( custom_udp enabled line):
Code:<motion_platform> <dbox enabled="true"/> <udp enabled="true" delay="1" port="20777" ip="127.0.0.1" extradata="3"/> <custom_udp enabled="true" delay="1" port="20777" ip="127.0.0.1" filename="packet_data.xml"/> <fanatec enabled="true" ledTrueForGearsFalseForSpeed="true" wheelVibrationScale="1.0" pedalVibrationScale="1.0"/>
Should be :
Code:<motion_platform> <dbox enabled="true"/> <udp enabled="true" delay="1" port="20777" ip="127.0.0.1" extradata="3"/> <custom_udp enabled="false" delay="1" port="20777" ip="127.0.0.1" filename="packet_data.xml"/> <fanatec enabled="true" ledTrueForGearsFalseForSpeed="true" wheelVibrationScale="1.0" pedalVibrationScale="1.0"/>
For dirt Rally it looks legit except the fact you have 3 lines, on my sample I have only two, which I know is working and i don't think I removed a line, probably dirt rally does not supports 3 outputs
try with this, it's my exact config working with simhub :
Code:<dbox enabled="true"/> <udp enabled="true" delay="1" port="20777" ip="127.0.0.1" extradata="3"/> <udp enabled="true" delay="1" port="20779" ip="127.0.0.1" extradata="3"/> <fanatec enabled="true" ledTrueForGearsFalseForSpeed="true" wheelVibrationScale="1.0" pedalVibrationScale="1.0"/>
Take care on codemasters, the games will only be recognized when you are in a race.
Just open your browser and go to http://ipofyourcomputer:8888sorry i do not understand how to install the program on my tablet, is there some guide ?? thank you
I've tried on my side without reproducing it specifically, but this symptom looks like the timedrift protection going mad, try to disable it if you enabled it, :Hello again,
I seem to be having a strange issue on ETS2 with the dashboards... will work fine when I start the game and drive, but when it pauses either because I pause with F1, or choose a job or similar non-driving actions, the dash will go to idle (which is normal) but it does not resume correctly: sometimes refresh rate seems too slow (like every 1 second instead of 10 ms), or will not refresh at all, once I even had a blank screen as if the simhub server has stopped. Every time in this situation, if I refresh the screen (web browser on tablet) it will resume fine again. Annoying, have you seen this before?
Hum, really strange , does it happens too on another device ? Like a phone ?Thanks. Not the timedrift since that is always off, I don't think the tablet goes in low power mode either since even a short pause causes that behaviour... looked at the log files and could not detect anything suspicious (web client connect/disconnected is linked to my refreshing, I guess?).
I'll do some proper observation to try and rule out the tablet and get logs while logging times properly when it happens... tomorrow at the best!