duhow / wibox Goto Github PK
View Code? Open in Web Editor NEWFermax Wi-Box managed locally
License: GNU General Public License v3.0
Fermax Wi-Box managed locally
License: GNU General Public License v3.0
I notice you have set on some scripts mqtt usage, but the bin is not included on the git repo
Thinking to buy a wibox, any instructions how to properly install this?
Hi,
I'm thinking about buying a wi-box for my VDS monitor, I checked with Fermax tech department and they said that my monitor is compatible.
i'd like to use it from my Home Assitant, where I usually try to integrate all, the only way I see is your reflashing method... is there any other way to use it locally? like any API or service opened?
I'd like to get the wibox but Im a bit scared of loosing service in some years when Fermax closes its cloud or wherever they host their stuff to manage this service :(
Thanks,
Jose
I did following steps,
on ubuntu server
but cramfsck: stat failed: mtd4: no such file or directory
Regards
Hi duhow,
Thanks for your work on this :-) my goal is to integrate my wibox on HA, but It seems there is no console access on newer firmware versions, nothing appear after init process:
I can access to U-Boot pressing any key on start, any tip on how to proceed at this point?
For other users: to avoid soldering i filed 2mm this connectors with a dremel:
After flashing it in the boot attempt appears the network initialization and then an error that does not start the system.
I flashed it again passing the image through xmodem (with dd after), also modifying the /mnt/mtd/wpa_supplicant.conf file using different combinations without success, always the same error appears.
ifup: can't open '/var/run/ifstate': No such file or directory
/etc/init.d/rcS: line 32: /usr/run.sh: not found
runnnnnnnnnnnn
Jan 1 00:00:02 goke daemon.info linuxrc: starting pid 84, tty '/dev/ttySGK0': '/sbin/getty -L ttySGK0 115200 ttySGK0 -n -l /etc/autologin'
I've just found your mod for Wibox and was hoping to get it running on my apartment; I couldn't make out for sure though if you have a video and audio feed available, is there or do you have plans for it?
Cheers
When I patched my wibox I don't know why mosquitto wasn't included or I didn't pay attention to upload it.
Would it be posible anyone share the binary to upload it to my wibox? 😅
Tried to build your image and push it to the device.
after reboot the device is not getting IP.
Tried to connect via Serial and Got stuck at this point with
console init done
[2022-01-10 19:34:05.860] DRAM: 64 MiB
[2022-01-10 19:34:05.877] Flash: [XM25QH128A] USE 4X mode read and 4X mode write
[2022-01-10 19:34:05.887] 16 MiB
[2022-01-10 19:34:05.887] NAND: [No SPI nand]
[2022-01-10 19:34:05.887] SF: 16 MiB [page:256 Bytes] [sector:64 KiB] [count:256] (XM25QH128A)
[2022-01-10 19:34:05.918] In: serial
[2022-01-10 19:34:05.918] Out: serial
[2022-01-10 19:34:05.918] Err: serial
[2022-01-10 19:34:05.920] Net: Int PHY
[2022-01-10 19:34:05.924] Hit Enter key to stop autoboot: 0
[2022-01-10 19:34:06.929] [PROCESS_SEPARATORS] run normalboot
[2022-01-10 19:34:06.955] [PROCESS_SEPARATORS] setenv bootargs console=$(consoledev),115200 mem=52M init=/linuxrc root=/dev/mtdblock3 rootfstype=squashfs mtdparts=gk_f
lash:256K(uboot),64K(env),1920K(kernel),2240K(rootfs),11328K(usr),512K(mnt),64K(cfg);sf probe;sf read 0xc1000000 0x50000 0x1E0000;bootm 0xc1000000
[2022-01-10 19:34:06.965] SF: 16 MiB [page:256 Bytes] [sector:64 KiB] [count:256] (XM25QH128A)
[2022-01-10 19:34:07.154] put param to memory
[2022-01-10 19:34:07.154] mem size (52)
[2022-01-10 19:34:07.154] total mem size (64)
[2022-01-10 19:34:07.154] bsb size (1)
[2022-01-10 19:34:07.154] usr size (0)
[2022-01-10 19:34:07.154]
[2022-01-10 19:34:07.154] the kernel image is zImage or Image
[2022-01-10 19:34:07.154] entry = 0xc1000000
[2022-01-10 19:34:07.155] ## Transferring control to Linux (at address c1000000)...
[2022-01-10 19:34:07.155]
[2022-01-10 19:34:07.155] Starting kernel ...
[2022-01-10 19:34:07.155]
[2022-01-10 19:34:07.155] machid = 3988 r2 = 0xc0000100
[2022-01-10 19:34:07.157] Uncompressing Linux... done, booting the kernel.
So I were not able to arrive to the file and replace it by the backup I did previous flash.
Any Idea? I'm doing something wrong on the serial or is just fully bricked?
Wi-Box Firmware: V500.R001.A103.00.G0021.B013
Computer OS: MacOS/Raspbian
I have connected positive (red) and negative (brown) of the board to external Power Supply of 18V.
I could get the board in Wi-Box app and connect it to my wifi.
I have done this because I am not in the flat where the board will be located.
I have soldered the cables as expected.
And linked the cables manually using same "port" on wage connectors to make sure they are getting contact. Because I had no black I used Green dupont cable. and they are linked as you can see here.
I have connected GND (yellow) to GND, TX (black that ends in green) to RX and RX (red) to TX.
I connected usb and it is accesible through /dev/ttyUSB0
in a raspberry but I also checked on macOS which is accesible through /dev/cu.usbserial-1420
. I will give this value as $PHYSICAL_PORT
var in the connection command.
I tried to connect using picocom on raspbian and tried with screen in macOS and Linux:
sudo -v # prompt for sudo password
sudo screen $PHYSICAL_PORT 115200
And with all this done just provide me a good black screen if I try to use the serial connection after the board got power on (and connected to my wifi) but if I connected first the USB and later power on provides me on the screen @@@H@
sometimes.
The board has opened 4 ports:
PORT STATE SERVICE
80/tcp open http
443/tcp open https
6683/tcp open unknown
34567/tcp open dhanalakshmi
If I browse http://wibox-ip
or https
provides a 404 not found. Sometimes this is used to provision the wpa_supplicant at start configuration but remains open after configuring the wifi.
[*] Downloading dropbear 2020.81
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:03 --:--:-- 0curl: (6) Could not resolve host: matt.ucc.asn.au
[build 6/6] RUN ct-ng build:
#11 0.592 ./.config: line 23: $'\r': command not found
#11 0.592 [ERROR]
#11 0.593 [ERROR] >>
#11 0.594 [ERROR] >> Build failed in step '(top-level)'
#11 0.595 [ERROR] >>
#11 0.595 [ERROR] >> Error happened in: source[./.config@23]
#11 0.596 [ERROR] >> called from: CT_LoadConfig[scripts/functions@16]
#11 0.597 [ERROR] >> called from: main[scripts/crosstool-NG.sh@22]
#11 0.598 [ERROR] >>
#11 0.598 [ERROR] >> There is a list of known issues, some with workarounds, in:
#11 0.599 [ERROR] >> https://crosstool-ng.github.io/docs/known-issues/
#11 0.600 [ERROR] >>
#11 0.601 [ERROR] >> NOTE: You configuration uses non-default patch sets. Please
#11 0.601 [ERROR] >> select 'bundled' as the set of patches applied and attempt
#11 0.602 [ERROR] >> to reproduce this issue. Issues reported with other patch
#11 0.603 [ERROR] >> set selections (none, local, bundled+local) are going to be
#11 0.603 [ERROR] >> closed without explanation.
#11 0.604 [ERROR] >>
#11 0.605 [ERROR] >> If you feel this is a bug in crosstool-NG, report it at:
#11 0.606 [ERROR] >> https://github.com/crosstool-ng/crosstool-ng/issues/
#11 0.606 [ERROR] >>
#11 0.607 [ERROR] >> Make sure your report includes all the information pertinent to this issue.
#11 0.608 [ERROR] >> Read the bug reporting guidelines here:
#11 0.608 [ERROR] >> http://crosstool-ng.github.io/support/
#11 0.609 [ERROR]
#11 0.614 [ERROR] (elapsed: 28017249:06.54)
#11 0.615 /usr/local/bin/ct-ng:261: recipe for target 'build' failed
#11 0.615 make: *** [build] Error 127
HI,
recent I firmed up this firmware & try to debug some codes did not work,
I found few codes are different
such as
ALARM_REPORT => \xFB\x11\x01\x1D
CMD_STOP_RING => \xFB\x23\x01\x2F
I checked this codes in /var/messages
but I want to know how can I find out codes such as START_CALL
Regards
First of all, congratulations for the great work in this project. Given the insight you were able to acquire over the Wi-Box device, do you have any clue on what kind of communication it establishes with the telephone device?
I saw specs elsewhere about a RS-485 port on the telephone unit.
Regarding the telephones themselves, are these usually linux devices as well?
Wonder how feasible it would be to interface the phone with an ESP32 board acting as a gateway for streaming video/audio and events/commands, instead of the Wi-Box..
Thanks
Cheers
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.