hobbyquaker / arcticfox-config Goto Github PK
View Code? Open in Web Editor NEWConfiguration Tool for Vape Battery Mods with Arcticfox Firmware. :cloud: :wrench: Works on MacOS and Linux.
License: GNU General Public License v3.0
Configuration Tool for Vape Battery Mods with Arcticfox Firmware. :cloud: :wrench: Works on MacOS and Linux.
License: GNU General Public License v3.0
for some reason my virtual box fails uploading the firmware in both my pico 75w and pico 25, so this would be great! :)
have to determine the correct path, depending on dev or asar build.
start screen with choices
It connects and shows me the settings from my arcticfox, but if i change something and press upload, it saves something completely different from what i have entered, e.g. it saves TC settings instead of VW or something like that, each time i hit save it feels like a dice. So at present, the whole program is useless.
arcticfox-config does not support current versions of arctic fox.
a support of latest versions of Arctic Fox (version 20190624) would be highly welcome.
On the power curves page, there does not seem to be a way to select a power curve, only to edit the curves. How does a selected power curve get attached to a profile?
Had the Config Tool issuing an error popup stating that the there is an issue with the XML when attempting to save a configuration on MacOS Mojave:
Hi guys, I tried to run this app from latest 1.11.5 binary release, but it fails:
$ ./arcticfox-config
{ Error: ENOENT, i18n/cs.json not found in /home/x/git/aur-arcticfox-config/test/src/arcticfox-config-1.11.5/resources/app.asar
at notFoundError (ELECTRON_ASAR.js:115:19)
at Object.fs.readFileSync (ELECTRON_ASAR.js:513:9)
at App.app.on (/home/x/git/aur-arcticfox-config/test/src/arcticfox-config-1.11.5/resources/app.asar/main.js:424:30)
at emitTwo (events.js:111:20)
at App.emit (events.js:194:7) code: 'ENOENT', errno: -2 }
It runs when started like this: LANG=en ./arcticfox-config
. I guess there could be problem with naming of json file: arcticfox-config/i18n/cz.json
(location is CZ, but language cs - thus locale is cs_CZ
).
I can't test it right now, because manual build seems to be broken.
I'm preparing package for arch linux using your debian package, which is pretty easy but for one thing: you are creating udev rule file in postinst script, would it be possible to add it to package as a separate file? There's debhelper for it, which should automatically install such file, if it's placed in debian/*.udev
. If you change it so, I could then use the same file in my packaging. It would also make the debian packaging more clean :)
Followed the instruction over AF Forum that's the result:
[root@lazydev arcticfox-config]# node_modules/.bin/electron-rebuild
โ Rebuild Failed
An unhandled error occurred inside electron-rebuild
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | linux | x64
gyp info spawn /usr/bin/python2
gyp info spawn args [ '/root/ACFOX/arcticfox-config/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/root/ACFOX/arcticfox-config/node_modules/node-hid/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/root/ACFOX/arcticfox-config/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/root/.electron-gyp/.node-gyp/iojs-1.7.6/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/root/.electron-gyp/.node-gyp/iojs-1.7.6',
gyp info spawn args '-Dnode_gyp_dir=/root/ACFOX/arcticfox-config/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/root/.electron-gyp/.node-gyp/iojs-1.7.6/<(target_arch)/iojs.lib',
gyp info spawn args '-Dmodule_root_dir=/root/ACFOX/arcticfox-config/node_modules/node-hid',
gyp info spawn args '-Dnode_engine=v8',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.' ]
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
make: ingresso nella directory "/root/ACFOX/arcticfox-config/node_modules/node-hid/build"
CC(target) Release/obj.target/hidapi/hidapi/libusb/hid.o
../hidapi/libusb/hid.c:47:10: fatal error: libusb.h: File o directory non esistente
#include <libusb.h>
^~~~~~~~~~
compilation terminated.
make: *** [hidapi.target.mk:96: Release/obj.target/hidapi/hidapi/libusb/hid.o] Error 1
make: uscita dalla directory "/root/ACFOX/arcticfox-config/node_modules/node-hid/build"
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/root/ACFOX/arcticfox-config/node_modules/node-gyp/lib/build.js:258:23)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:191:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Linux 4.12.9-300.fc26.x86_64
gyp ERR! command "/usr/bin/node" "/root/ACFOX/arcticfox-config/node_modules/.bin/node-gyp" "rebuild" "--target=1.7.6" "--arch=x64" "--dist-url=https://atom.io/download/electron" "--build-from-source"
gyp ERR! cwd /root/ACFOX/arcticfox-config/node_modules/node-hid
gyp ERR! node -v v6.11.2
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
Failed with exit code: 1
Error: gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | linux | x64
gyp info spawn /usr/bin/python2
gyp info spawn args [ '/root/ACFOX/arcticfox-config/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/root/ACFOX/arcticfox-config/node_modules/node-hid/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/root/ACFOX/arcticfox-config/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/root/.electron-gyp/.node-gyp/iojs-1.7.6/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/root/.electron-gyp/.node-gyp/iojs-1.7.6',
gyp info spawn args '-Dnode_gyp_dir=/root/ACFOX/arcticfox-config/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/root/.electron-gyp/.node-gyp/iojs-1.7.6/<(target_arch)/iojs.lib',
gyp info spawn args '-Dmodule_root_dir=/root/ACFOX/arcticfox-config/node_modules/node-hid',
gyp info spawn args '-Dnode_engine=v8',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.' ]
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
make: ingresso nella directory "/root/ACFOX/arcticfox-config/node_modules/node-hid/build"
CC(target) Release/obj.target/hidapi/hidapi/libusb/hid.o
../hidapi/libusb/hid.c:47:10: fatal error: libusb.h: File o directory non esistente
#include <libusb.h>
^~~~~~~~~~
compilation terminated.
make: *** [hidapi.target.mk:96: Release/obj.target/hidapi/hidapi/libusb/hid.o] Error 1
make: uscita dalla directory "/root/ACFOX/arcticfox-config/node_modules/node-hid/build"
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/root/ACFOX/arcticfox-config/node_modules/node-gyp/lib/build.js:258:23)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:191:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Linux 4.12.9-300.fc26.x86_64
gyp ERR! command "/usr/bin/node" "/root/ACFOX/arcticfox-config/node_modules/.bin/node-gyp" "rebuild" "--target=1.7.6" "--arch=x64" "--dist-url=https://atom.io/download/electron" "--build-from-source"
gyp ERR! cwd /root/ACFOX/arcticfox-config/node_modules/node-hid
gyp ERR! node -v v6.11.2
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
Failed with exit code: 1
at SafeSubscriber._error (/root/ACFOX/arcticfox-config/node_modules/spawn-rx/lib/src/index.js:267:84)
at SafeSubscriber.__tryOrUnsub (/root/ACFOX/arcticfox-config/node_modules/rxjs/Subscriber.js:238:16)
at SafeSubscriber.error (/root/ACFOX/arcticfox-config/node_modules/rxjs/Subscriber.js:197:26)
at Subscriber._error (/root/ACFOX/arcticfox-config/node_modules/rxjs/Subscriber.js:128:26)
at Subscriber.error (/root/ACFOX/arcticfox-config/node_modules/rxjs/Subscriber.js:102:18)
at MapSubscriber.Subscriber._error (/root/ACFOX/arcticfox-config/node_modules/rxjs/Subscriber.js:128:26)
at MapSubscriber.Subscriber.error (/root/ACFOX/arcticfox-config/node_modules/rxjs/Subscriber.js:102:18)
at SafeSubscriber._next (/root/ACFOX/arcticfox-config/node_modules/spawn-rx/lib/src/index.js:241:65)
at SafeSubscriber.__tryOrSetError (/root/ACFOX/arcticfox-config/node_modules/rxjs/Subscriber.js:247:16)
at SafeSubscriber.next (/root/ACFOX/arcticfox-config/node_modules/rxjs/Subscriber.js:187:27)
There seem to be a missing lib.
P.S. Another good thing would be the inclusion of .rpm packages building as well.
Just tried to run the arcticfox-config from the tar.gz and also from the installed version from the rpm package.
It segfaults without any additional info.
[galileo@sol Arcticfox Config]$ ./arcticfox-config
Segmentation fault (core dumped)
subj,
wismec devices didn't have a hardware clock, but clocks are usable, only problem is keep them in sync.
Even for joytech devices which have hardware clock, sync time by time are needed.
Original ArcticFox Tool does that on device connection.
Before P11, i write some wrappers around python-evic, to do that, while device connected.
But on P11 python-evic don't work.
Thanks.
JFYI:
I have Wismec RX Gen 3
Tried to set preheat to 32W and it actually set to 3.2W
Hi,
the home page of the project states that there should be a .deb package for Ubuntu/Debian along with the OsX package and the source code, but I couldn't find it.
Thank you!
Hello.
This is more a glitch than a bug afaik, but still, this might be helpful.
At every run, I get this message polluting the terminal output.
fabio@fabiolaptop:~/devel/Vape$ arcticfox-config
{ Error: ENOENT, i18n/.json not found in /opt/Arcticfox Config/resources/app.asar
at notFoundError (ELECTRON_ASAR.js:115:19)
at Object.fs.readFileSync (ELECTRON_ASAR.js:514:9)
at Object.<anonymous> (/opt/Arcticfox Config/resources/app.asar/main.js:454:26)
at Object.<anonymous> (/opt/Arcticfox Config/resources/app.asar/main.js:471:3)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Object.<anonymous> (/opt/Arcticfox Config/resources/electron.asar/browser/init.js:171:8) code: 'ENOENT', errno: -2 }
Thanks,
I had to install this udev rules file from another project in /etc/udev/rules.d/
https://github.com/Ban3/python-evic/blob/master/udev/99-nuvoton-hid.rules
Only then arcticfox-config could see my eleaf Aster.
Thank you
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.