Sign inSign up

nyffchanium/argoclima-dummy-server

By nyffchanium

•Updated over 3 years ago

Dummy integration of the server used for communicating with some of the Argoclima HVAC devices.

Image
0

10K+

nyffchanium/argoclima-dummy-server repository overview

⁠Argoclima Dummy Server

Dummy integration of the server used for communicating with some of the Argoclima (Argo) HVAC devices. Can be used if you don't want your device to communicate over the internet, you have connectivity problems, or the public server is offline.

GitHub repo: https://github.com/nyffchanium/argoclima-integration⁠

⁠How to use

You can set the port the dummy server listens to via the env SERVER_PORT. It defaults to 8080. For the dummy server to be of any use, you need to redirect the traffic to it. As the original server is a hardcoded public IP you need to change the routing through your router.

Example with an Asus router running Asuswrt-Merlin:

  1. Enable custom scripts and SSH via the router UI (Administration -> System).
  2. SSH into your router and create a file called nat-start in /jffs/scripts (replace YOUR_SERVER and YOUR_PORT with the address and port of your dummy server instance).
    #!/bin/sh
    iptables -t nat -I PREROUTING -s 0.0.0.0/0 -d 31.14.128.210 -p tcp -j DNAT --to-destination YOUR_SERVER:YOUR_PORT
    
  3. Make sure the file is executable. chmod a+rx /jffs/scripts/*.
  4. Restart your router.

⁠Credits

The dummy server has been contributed by @lallinger.

Tag summary

Content type

Image

Digest

sha256:dad0a4c3f…

Size

30 MB

Last updated

over 3 years ago

docker pull nyffchanium/argoclima-dummy-server