Skip to content

Releases: WelterRocks/ecophacs

EcoPhacs v0.28

21 Oct 22:36
Compare
Choose a tag to compare

EcoPhacs v0.28 release, with bumper compatibility.

  • Added bumper compat support
  • Added CLI extensions
  • Added Exceptionhandler
  • Changed accessories calculation method
  • Fixed minor and major bugs

This is the first release known, to support ecovacs API servers and the community server bumper together.

EcoPhacs v0.28-alpha

21 Oct 20:52
Compare
Choose a tag to compare
EcoPhacs v0.28-alpha Pre-release
Pre-release

Added bumper compat mode

  • Added and tested bumper compatibility
  • Added CLI options to use bumper server
  • Fixed minor bugs

EcoPhacs v0.27

19 Oct 17:00
Compare
Choose a tag to compare

The EcoPhacs 0.27 release has a better stability and improved battery management.
Now you can see the probable run- and chargetimes for your bots.

  • Added support for battery calculations and different battery types.
  • Minor fixes.

EcoPhacs v0.26

18 Oct 01:12
Compare
Choose a tag to compare

EcoPhacs v0.26, now with MQTT support, tested and works with OpenHAB.

  • Fixed MQTT exceptions on connection losses
  • Added PING to tick status handler
  • Added COMMAND and POWER shortcuts for use with OpenHAB and ALEXA
  • Full test with Ecovacs Deebot N79S succeeded
  • Added conflicts to EcoPhacs Daemon and MQTT, to prevent users from running both at a time
  • Added libmosquitto support for Travis test builds
  • Added composer version for appveyor, without pecl mosquitto extension

EcoPhacs v0.25

17 Oct 03:02
Compare
Choose a tag to compare

This is the 0.25 release and the first one, with a working Daemon / Client combination.

EcoPhacs v0.26-alpha

17 Oct 22:37
Compare
Choose a tag to compare
EcoPhacs v0.26-alpha Pre-release
Pre-release

This is the Alpha-Release 0.26, now with MQTT support.

  • Added MQTT daemon EcoPhacs-MQTT.php
  • Added MQTT class and support scripts
  • Fixed minor bugs
  • Added foreground switch for both daemons
  • Fixed daemon shutdown pid removal problem

EcoPhacs v0.24-alpha

16 Oct 23:55
Compare
Choose a tag to compare
EcoPhacs v0.24-alpha Pre-release
Pre-release

Alpha release of new Client/Server model.

Now, you can use install.sh to install requirements and setup the basics. After that you can use EcoPhacs-Configure.php to setup your credentials. Use systemd to start EcoPhacs-Daemon.php, which now logs to syslog. Then use EcoPhacs-Client.php to control your bots, also with sequential commands, like: forward --wait 5 left --nano-wait 25000 stop

Client/Daemon model makes it possible to control your bot nearly in realtime :-)

  • Added syslog capabilities for daemon
  • Added systemd service for daemon
  • Added installer script
  • Added working EcoPhacs-Client.php
  • Added sequential command handling
  • Added --wait and --nano-wait to finetune client commands in a sequence
  • Changed EcoPhacs-Daemon.php to use base64_encoded socket communication
  • Added checksumming for socket messages
  • Added unique identifiers for message packets
  • Minor fixes

EcoPhacs v0.23-alpha

15 Oct 04:09
Compare
Choose a tag to compare
EcoPhacs v0.23-alpha Pre-release
Pre-release

Alpha version of new CLI handler.

  • Added EcoPhacs-Configure.php to easily setup credentials
  • Adapted EcoPhacs-Daemon.php to new CLI class structure
  • Added signal handlers and ability to fork

TODO:

  • Fix the callback handler, currently not working, so trapped signals are ignored, not executed.

EcoPhacs v0.22

13 Oct 20:20
Compare
Choose a tag to compare

Introducing EcoPhacsD FIFO daemon

If you would like to have fast access to your bots and immidiate command reactions and responses,
then this new daemon is probably what you are searching for. You need two FIFOs in /var/run, named
ecophacs-in.fifo and ecophacs-out.fifo, which can be accessed by EcoPhacsD.php while running.
The requirements to run the daemons are the same as for the EcoPhacs.php example (read below). To
read, what the daemon outputs, connect to /var/run/ecophacs-out.fifo, for example with a cat
command. To send commands write to /var/run/ecophacs-in.fifo, for example with the echo
command line tool. The commands are send as device-id:command:arg1,arg2,arg3,..., where device-id
is the DID of the bot. Also there are some special commands like any:status, any:devicelist.
With the example below, you cat start the bot cleaning in auto mode. Commands are the same, as they
apear as public functions in Device.php, without constructor or PHP internal class functions.
Replace E000111122233344445 with the DID of your bot for testing. Status reports are automatically
fetched and sent over the output FIFO, periodically. But remember, EcoPhacsD is an example only,
which is meant to be a technological proof of concept and not for production use, currently.

cat /var/run/ecophacs-out.fifo

echo "E000111122233344445:auto" > /var/run/ecophacs-in.fifo

echo "E000111122233344445:stop" > /var/run/ecophacs-in.fifo

Changes:

  • added EcoPhacsD.php
  • changed directory structure
  • added Device->to_json() command
  • minor fixes

EcoPhacs v0.21

12 Oct 20:01
Compare
Choose a tag to compare

First CLI release

  • Added EcoPhacs.php, a very simple CLI tool.
  • Minor fixes and typo removes