Lumin D2 with Expert Pro CI - Printable Version +- Devialet Chat (https://devialetchat.com) +-- Forum: Devialet Chat (https://devialetchat.com/Forum-Devialet-Chat) +--- Forum: Devialet Classroom (https://devialetchat.com/Forum-Devialet-Classroom) +--- Thread: Lumin D2 with Expert Pro CI (/Thread-Lumin-D2-with-Expert-Pro-CI) Pages:
1
2
|
RE: Lumin D2 with Expert Pro CI - ogs - 21-Jan-2023 Yes I know how CRC works. What I meant was: no one has figured out how Devialet uses CRC in configuration files. If one edits a file it changes and a new CRC is needed. What part of the CRC string does one add to a file to make it work? Is something added to or removed from the file while generating the CRC? Lots of stumbling blocks here... RE: Lumin D2 with Expert Pro CI - hamster28 - 01-Aug-2023 (21-Jan-2023, 12:04)ogs Wrote: Yes I know how CRC works. What I meant was: no one has figured out how Devialet uses CRC in configuration files. If one edits a file it changes and a new CRC is needed. What part of the CRC string does one add to a file to make it work? Is something added to or removed from the file while generating the CRC? Lots of stumbling blocks here... Hi, i have figured out how Devialet calculates the CRC. Here is a NodeJS function which does the job: "calcConfigFilesCRC()" https://github.com/Hamster128/iTunesRemote/blob/master/devialet.js RE: Lumin D2 with Expert Pro CI - daniel.avasilichioaei - 01-Aug-2023 (01-Aug-2023, 17:29)hamster28 Wrote:(21-Jan-2023, 12:04)ogs Wrote: Yes I know how CRC works. What I meant was: no one has figured out how Devialet uses CRC in configuration files. If one edits a file it changes and a new CRC is needed. What part of the CRC string does one add to a file to make it work? Is something added to or removed from the file while generating the CRC? Lots of stumbling blocks here... Wow... This is something impressive and useful. This information should be put in a dedicated thread. Do you have any instructions for use for novice users? RE: Lumin D2 with Expert Pro CI - hamster28 - 01-Aug-2023 (01-Aug-2023, 17:40)daniel.avasilichioaei Wrote:(01-Aug-2023, 17:29)hamster28 Wrote:(21-Jan-2023, 12:04)ogs Wrote: Yes I know how CRC works. What I meant was: no one has figured out how Devialet uses CRC in configuration files. If one edits a file it changes and a new CRC is needed. What part of the CRC string does one add to a file to make it work? Is something added to or removed from the file while generating the CRC? Lots of stumbling blocks here... Here is a cooking recipe: 1) install nodejs (https://nodejs.org/en/download) 2) download my repository from github https://github.com/Hamster128/iTunesRemote/archive/refs/heads/master.zip 3) extract zip 4) execute "npm i" inside the directory 5) copy your modified dp_cfg.txt in the projects directory 6) start calc_crc.cmd RE: Lumin D2 with Expert Pro CI - daniel.avasilichioaei - 01-Aug-2023 (01-Aug-2023, 18:06)hamster28 Wrote: Here is a cooking recipe: Thank you. RE: Lumin D2 with Expert Pro CI - Delija - 02-Aug-2023 It appears it does work - I've tried several test examples. This is really great news. It's BIG - it should be put as new sticky thread! With this tool (basically with the knowledge how exactly the CRC is calculated - CRC16-CCITT) and proper "cookbook" we are not any more fully dependent from Devialet and it's web configurator and also from the future of the company. Someone could even implement a proper offline configurator - with fixed known issues of online configurator. @hamster28 Thank you very much! We own you a large amount of beer RE: Lumin D2 with Expert Pro CI - ogs - 09-Aug-2023 (01-Aug-2023, 17:29)hamster28 Wrote: Hi, i have figured out how Devialet calculates the CRC. Thanks! I've just seen your post. Much appreciated! |