Skip to content

Releases: roleoroleo/sonoff-hack

sonoff-hack 0.1.7

10 Feb 14:10
Compare
Choose a tag to compare

Fix issue #152
Remove Audio Message if no WiFi is configured (thanks to @flreinhard)
Reduce number of temporary empty audio files (thanks to @flreinhard)
Fix MQTT_IPC_DB handling (thanks to @flreinhard)
Current implementation missed motion events on GK-200MP2-B (thanks to @flreinhard)
Start/stop AlarmServer instead of AVRecorder
Use timezone from db
Dont't handle SQL_CMD_SENSITIVITY_0
Remove busybox submodule
Add busybox 1.36.1
Remove wsdd submodule
Add onvif_simple_server
Add inotifyd and httpd to busybox install script
Set default time for ptz.sh script
Add new features to ptz command
Add del_preset and set_home to preset.sh
Create tmp file when alarm is detected
Update dropbear to version 2022.83
Remove onvif_srvd directory
Fix install path for onvif_simple_server
Update readme
Fix error with upgrade procedure from local sd

sonoff-hack 0.1.6

20 Apr 09:45
Compare
Choose a tag to compare
sonoff-hack 0.1.6 Pre-release
Pre-release

Bump devcontainer build to Debian 11 (thanks to @darkxst)
Bump gsoap to 2.8.104 and update mirrors (thanks to @darkxst)
Bump openssl to 1.1.1s (thanks to @darkxst)
Optimize gsoap build (thanks to @darkxst)
Optimise openssl build (thanks to @darkxst)
Remove broken Dockerfile and link it to the one used by devcontainers (thanks to @darkxst)
Fix scope for ONVIF Profile S (thanks to @darkxst)
Set Github actions to use a specific image (thanks to @darkxst)
Add missing mqtt-config
Add mqtt request to dump full configuration
Add timeout to sql insert and update
Fix onvif scope in service.sh
Complete rewrite of mqtt-sonoff (removed mqtt-config)
Add missing option for ir control
Change options from lower case to upper case
Move motion callback to a thread
Improve debug
Add ha discovery for switches and selects
Activate command line option for discovery
Add -a option to mqtt-sonoff if discovery is enabled
Enable rmdir in busybox
Add configurable ftp-port to ftppush.sh (thanks to @couriersud)
Enable rmdir in busybox (thanks to @couriersud)
Add inotifyd to busybox
Add new motion detection mode through inotify

sonoff-hack 0.1.5

18 Feb 20:37
Compare
Choose a tag to compare

Make sure /var/log exists before mounting (thanks to @darkxst)
Fix ptz dir when celing mount is on
Added section for PTZ not working (thanks to @EpicLPer)
Add mqtt publish to stat topic
Fix library usage for ptz command.
Add new options to camera settings.
Add mqtt-config to configure the cam with mqtt
Refactor privacy script
Improve snapshot webpage performance.
Stop recording when the cam is switched off
Add script for network management
Add resize_jpg application
Add option to disable thumbnails
Fix local fw upgrade procedure
Fix thumb.sh and add jpg resizing

sonoff-hack 0.1.4

02 Nov 08:25
Compare
Choose a tag to compare

For this release, a special thanks goes to @darkxst.
He implemented support for new camera models (V5520), added many improvements and fixed several bugs.

Only setup PTZ if kernel module is loaded
Add vscode .devcontainer build
Fix motion detection for newer firmware
Build scripts cleanup
Update docs to mention support for S-CAM and VSCode devcontainers
Add mqtt database location setting to webui
Clean up build flags for container builds
Cleanup configure arguments to be consistent across modules
mqtt-sonoff config refactor
Bind mount /var/log to SD card
Add option to enable syslogd
Fix profile to pick up default PATH set in dropbear
Disable telnet by default
Only scan last days events in thumb.sh
Fix EOF detection when parsing config files
Add cJSON submodule and build scripts
Bump mosquitto to v2.0.15
Add variables and UI settings for Home Assistant Discovery
Add parsing of colink.conf for device id and model
Remove mqtt Client ID setting from webUI and set it to the unique dev
Update Docs
Fix path to thumbnail images on Events page
Implement Home Assistant autodiscovery
Bump actions/checkout to use node16 version

sonoff-hack 0.1.3

25 Aug 16:31
Compare
Choose a tag to compare

Fix "script already running" check
Add reboot feature to onvif
Don't give up while trying to connect to the broker
Add page to edit wifi credentials
Fix thread compilation flag
Use the same VideoSource for both profiles
Add response to GetCompatibleVideo*
Update dropbear to 2022.82
Do not use model string as ptz ability detection in js (thanks to @puuu)
Start rtspd on boot if not started (thanks to @puuu)
ptz_h.c and ptz_p.c are the same files make it only ptz.c (thanks to @puuu)
Add sftp-server from openSSH to dropbear (thanks to @puuu)
Add compatibility for model V5520.2053.0402build20220712 (thanks to @puuu)
Add get_coord action to ptz
Change MAX_Y to 1350 inside ptz
Fix libcrypt.so if gcc is not in PATH

sonoff-hack 0.1.2

18 Mar 15:39
Compare
Choose a tag to compare

Add github link to the status page
Rename MOTION_DETECTION parameter
Fix regression in ftppush.sh
Add delay before snapshot
Fix bug in flip/rotate switch
Fix bug when alarms table is empty
Add "local record" option to camera settings
Remove camera.conf
Improve security against command injection
Add minimp4 application
Decrease footprint removing copies of busybox and dropbear
Decrease footprint with gcc options
Add image grabbing from mp4 files
Remove useless binaries
Fix mobile app connection
Add thumbnails creation for mp4 files
Improve compile script for jq

sonoff-hack 0.1.1

30 Aug 20:54
Compare
Choose a tag to compare

Fix symbolic link on fat32
Add RTSP port configuration
Improve service.sh web service
Add camera settings page
Fix ptz binary for new fw version
Update onvif_srvd and start scripts
Change start mode for crontab
Add get_camera_settings web service
Fix crontab data format in system.conf
Add dark mode and refactor code
Create compile action (thanks to @shafr)
Add watchdog for rtsp service
Add switch to enable/disable snapshot
Add web service to switch on/off privacy
Add confirmation to reboot/reset buttons
Add a backup of the original db
Remove unused rtsp users from the db

sonoff-hack 0.1.0

15 May 16:38
Compare
Choose a tag to compare

Breaking changes

Default http port moved from 8080 to 80
Default onvif port moved from 80 to 1000

Update gsoap download site
Don't send again file with ftp if already sent
Don't send message if topic is empty
Improve ftppush.sh
Add name and ptz to status web service
Add scheduled motion stop event
Add optional parameters to status.json
Convert time to milliseconds in ptz.sh
Add beta support for model GK-200MP2C
Decrease onvif_srvd footprint

sonoff-hack 0.0.9

30 Dec 18:30
Compare
Choose a tag to compare

Version 0.0.8
Mute connection messages at boot
Add mqtt image on motion detection
Refactoring mqtt page
Add custom script execution at boot
Add file delete to ftppush
Fix absolute url paths
Fix empty folder delete in ftppush
Fix mqtt last message during reboot
Fix mqtt service name in service.sh
Add jq
Add timezone configuration
Add crontab feature

Version 0.0.9
Add output to file to snapshot web service
Add status to service web service
Fix setting preset with blank name
ONVIF:

  • Restore old version before event implementation
  • Improve VideoEncoderConfiguration response
  • Improve media profile onvif compatibility
  • Fix number of preset
  • Remove CreateProfile and DeleteProfile implementations
  • Remove wrong GetServiceCapabilities
  • Refactor PTZ configuration functions
  • Update onvif to specifications 20.12
  • Update service endpoints

Fix hostname in udhcpc
Improve cloud connection disabling
Fix jq compilation
Improve OTA upgrade

sonoff-hack 0.0.7

23 Oct 10:50
Compare
Choose a tag to compare

Add xargs applet to busybox
Add default to mqtt-sonoff options
Fix birth/will messages in mqtt
Improve ptz command stability
Add wlan signal strength to status page (need test)
Add option to create directory tree in ftp upload
Create hack user (at boot) if doesn't exist
Fix get_config in links.sh
Add parameters check in preset.sh
Fix onvif management in service.sh
Update onvif_srvd to latest release
Add alpha event management to onvif_srvd