All 'on-site' operations are fully independent from network or internet connection.
When user is connecting from local network, all communication between mobile phone / tablet and control unit is performed within local network. Fully independent from internet connection.
When user is connecting remotely (outside LAN) TapHome Cloud server is used to initiate and securely forward data between user and control unit (public IP address is not required). All decisions are left on control unit. Also, it is possible to setup remote connection without using TapHome servers.
TapHome accounts are the preferred way to connect to a location. It logs in with an email and password, authentication is performed by the TapHome cloud server, which also returns a list of locations that the account has access to. A TapHome account can have remote access to a location enabled or disabled.
Local accounts are predefined by the device owner and can be reused, e.g. Hotel room. e.g. admin / admin, room432 / uQ492i. Authentication takes place directly in the control unit, so this login method will work independently of the TapHome cloud servers. Local accounts are denied remote access to the site. In practice, local accounts are not of much use.
For more info check Users and Permissions.
TapHome provides the best of 2 worlds: fully functional and autonomous in offline mode and zero-configuration and safety of remote access via cloud.
When both the user and the control unit are in the same local network, all communication takes place without any servers or Internet access.
The tunneling server provides a secure Internet bridging (tunnel) between the application and the control unit - if they are not located in the same local network. No data is stored on this server.
Mobile app | Microsoft Azure Cloud | Control unit |
---|---|---|
App outside local network initiates safe connection with tunnelling server, using HTTPS socket, port 443 and SSL encryption | Provides basic authentication through tunnelling server with minimalistic infrastructure, enabling low-cost service availability | Control unit initiates safe connection with tunnelling server, using HTTPS socket, port 443, and SSL encryption, ensuring lower probability of internet attack |
First login with TapHome account (email and password), followed by authentication of credentials | TapHome API server validates account details and retrieves list of available locations | The controller has the final say on accepting or rejecting the connection from the TapHome account |
Allow outgoing TCP connections from Taphome Core to all IPs (all ports)Allow outgoing TCP connections from Taphome Core to all IPs (all ports)
Allow outgoing TCP connections from Taphome Core to all IPs (all ports).
Allow outgoing connections from Taphome Core to:
Allow outgoing TCP connections from Taphome Core to all IPs (all ports).
Allow outgoing connections from Taphome Core to:
Allow outgoing TCP connections from Taphome Core to all IPs (all ports).
Allow outgoing connections from Taphome Core to:
When you enable storing of values or statistics of specified devices, short-term data are stored inside the control unit for a limited time.
If the control unit is connected to the internet, it collects the data, optimizes it, and sends it to the Storage Cloud Server.
The table below shows how long the data is stored:
Offline | Online | |
---|---|---|
Instant values | up to 5 hours | Unlimited |
Hourly statistics | up to 7 days | Unlimited |
Daily statistics | up to 365 days | Unlimited |
Data is only stored in the cloud if a TapHome account is used and the user has enabled the history of device values. In this case, the data is linked to the account name.
The account name can be a random text, a virtual email or a real email. The only situation in which stored statistics can be linked to a person is if the account name is a real email and contains the user's name.
Normally, TapHome Core uses DHCP service to obtain an IP address and other network settings. This is displayed in Settings → My Location under Network Settings.
To disable DHCP settings and use a static IP address defined by the user, uncheck "Enable DHCP" and edit the network parameters.
After parameters are correctly set, use SAVE NETWORK SETTINGS AND RESTART to apply these parameters and restart Core with new network settings.
Please be sure that you set the correct parameters – otherwise, your Core may not be accessible.
"network-reset"
.TapHome modules communicate via a proprietary protocol, over the RS485 physical layer.
The basic principle is to provide collision-free, reliable, and prompt communication between the central control unit and modules.
Parameter | Recommended | Note |
---|---|---|
Cable length | < 600m | Up to 1200m in special conditions. |
Cable type | AWG 20 - 22, Twisted pair | Shielding is usually not necessary, but it is advisable to have it if data line interference caused by induced voltage occurs. |
Change to Topology view in ETS project | Daisy chain, Tree | Daisy chain is optimal for long distances, tree can be used up to 600m, and star is also acceptable. Ring topology is prohibited. |
Termination resistor (between A and B wires) | 100 Ohm | At the most distant point of the bus. In most cases, communication works well even without termination resistor, but is much more prone to noise. |
Max number of modules (connected on 1 bus) | < 32 | In good conditions (minimum noise, short wire distance, daisy chain topology), there can be up to 100 modules connected on 1 bus. |
TapHome Bus protocol is based on the round robin principle, where Core is the master, and all connected modules act as slaves. In standard operation, a module can only send a response to a query. This provides a few benefits:
- Baud rate: 115200 bps
- Parity: None
- Start bit: 1
- Stop bit: 1
- Data bits: 8