I have created a Dash App that reads live serial data from a sensor connected to my local device port. The web app then displays a graph of the incoming data (I have tested this works). I have then deployed this Dash App via Heroku so the dashboard can be accessed from other devices. Here is a diagram of the system
Simplified diagram of stack
I am new to web development which is why I did not realise that Heroku packages the app so it cannot access local device ports/ files. Is there a way to send the serial readings separately to Heroku for it to process? Or are there any other workarounds for live serial to public web app creation? Thank you
Related
I am working on adding support for our cloud storage solution to MS Teams but there is no central server you can send http messages to and get meaningful relies back from. I have no experience with creating Teams apps so I was hoping someone with Teams apps experience could tell me if this is even possible. At this point I only need my app to work on Windows and OS X.
This is how I would like my Teams App to work:
Each member of the team already has our cloud storage app running locally on their machine which provides access to the files.
Within MS Teams the user adds a file reference to a message via a message extension that would result in a link unfurl creating a card that contains an 'Open' button. The URL in the card would be one generated by our locally running cloud storage app. Other members of the team could then open this file by clicking the 'Open' button. The action of the open button would be to send the URL to our cloud storage app that would then open the local copy of the file on that team members machine.
Is it possible to do something like this within a Teams app? The communication between the Teams app and our cloud storage app would be done over our own protocol.
If it weren't for the fact that all bot communication must be done over https rather than http the local cloud storage app could act as the server.
All the communication in Teams with 3P apps needs to happen over https public endpoint. You could use ngrok to tunnel to local.
I'm totally new to PWA (rather I'm still considering adopting PWA or go Electron).
Looking at the concept and guides of the app on the web, it seems that the capability of it is to this extent, thus;
Access web APIs securely and easily
Yes, as it is the alternative implementation of web apps.
Access local storage of the PC for the app
Yes, through HTML5 web storage.
Access any local files in the PC
No?
Communicate with another desktop app through TCP connection
Yes? By posting/getting some query to localhost for example?
Obtain system info like PC status or installation path of another desktop app
No?
How many of my understandings are correct? Is there another capability or limitation to be specially noted?
I built an app to offer a client of the company I work for that I deployed to Firebase. It uses Firebase storage for retrieving files as well as the realtime database. It's actually just the front-end portion of a two-app suite I made; the backend portion is used by an admin for uploading files, checking data, etc --- which data then becomes available to view over the frontend. Both use firebase.
It turns out the devices that would need to access the app (tablets mostly) are inside of an extranet with a server that can establish VPN connections only. Now I'm being asked how I can build the app so these devices can access the app.
I don't know much about the inner-workings of Firebase but it seems to me I may have couple of options:
1) Figure out how to make the FB database accessible over VPN (preferable)
2) Reconfigure the app to use something like MongoDB. Instead of deploying on a remote server, let the on-site server service the devices using the app. Send files that are needed by the server via FTP over the VPN, then process these files on-site.
Problem: I'm using a Mac and the on-site server uses Windows. It will be a pain to install things on a Windows machine remotely, let alone set up the VPN.
Any ideas? I'm sure there are parts of this question where I've made wrong assumptions --- I've never needed to do things over a VPN before.
I need to install the HPE Mobile Center Connector on my local pc without any server just for a trial with UFT. can anyone advice what should i give in the Mobile center IP Address? since server port is by default: 8080
If you want to test mobile with UFT you need to have a mobile center server installed.
The Mobile Center Connector is not used by UFT, it's just a way to connect mobile devices to the MC server without physically connecting the device to the server machine. You should think of the connector as a way to extend the MC server. UFT connects to the server and can see all devices connected to the server (either physically or via connector) so if you don't have a server machine the connector has no meaning.
You can install the MC sever on a virtual machine if this helps.
You can install MC all in one which includes server + connector. It's supported for both Windows & Linux.
There is a trial version so you can test it with UFT.
If you want to try out Mobile testing with UFT, there is a free resource that you can use:
https://marketplace.microfocus.com/appdelivery/content/uft-mobile-add-in-for-local-device
More info from Micro Focus marketplace:
"This “add-in” acts as a connector between UFT and the mobile devices connected directly to the UFT machine. In just a few steps, UFT users can start designing and running mobile app and web tests on one local mobile device at a time without purchasing an additional license. Whether you work in Retail, Telecom, Finance, or other adjacent industries, the UFT Mobile Add-in for Local Devices is a great fit for testers who need to:
Execute their omnichannel content strategy using the same script for desktop and mobile web content
Support mobile testing in organisations that do not have a lab management solution in place
Run mobile tests without needing a new tool for mobile only"
I am working on a WP7 application that retrieves data from a web service. The web service was written by a co-worker and is hosted on a server connected to the office network. The app works just fine in the emulator. However, when I run the app on the actual phone (HTC Surround) it can't connect to the web service. If I try to open a website hosted on the same server that doesn't work either. However I can connect to other websites just fine.
One thing to note is - I don't have a SIM card in the phone, so the only available data connection is via WiFi, which connects to the office network (the same network that the service is hosted on).
I'm able to hit this website just fine from my laptop (on the wired office network), via an Android phone using WiFi, and via an Android phone using 4G.
What could be going on here? Alternatively - how can I debug this issue?
Thanks
I'd start debugging it by using Connectify.me (or something similar) to re-broadcast the wifi network you're having problems with, start Fiddler up and analyze what happens when the device's browser connects to some external site vs the site hosted on your network.