Sponsored Content
Top Forums Programming Wuhan Coronavirus Status for China - Rapid Prototype Blynk App with ESP8266 Post 303043581 by Neo on Saturday 1st of February 2020 04:03:48 AM
Old 02-01-2020
Well, I'm happy.....

From the API log files, there is already one other person using the app and the API.

So, at least one other person has found this app useful Smilie
 

6 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Function prototype declaration

Hi All, I have the script as below #!bin/bash let k=9 if then echo "Start" Hello echo "End" else echo "failed" fi function Hello() { echo "hello !!!!" } I got the below error : (4 Replies)
Discussion started by: Balasankar
4 Replies

2. Programming

Embarcadero Rapid SQL query for dependency

Team I am using Embarcadero Rapid SQL V8 . When we right click on any procedure/table/view and open the contents. It has dependencies tab, which tell what all are the dependents used . My question is how does this information captured in backend to retrieve the dependency objects in... (0 Replies)
Discussion started by: Perlbaby
0 Replies

3. What is on Your Mind?

Major Changes in New UserCP (v0.63) Prototype

Regarding the latest version of the UserCP prototype (version 0.63) I have made a lot of major changes, including Added a "Posts Timeline" table for the recent posts, complimenting the non-table version earlier, which has been moved off the main menu (link at the bottom of the table). Added a... (4 Replies)
Discussion started by: Neo
4 Replies

4. Programming

NodeMCU ESP8266 Blynk SSL Application for Linux Server Load Averages

Here is a useful SSL (HTTPS) application for anyone with a remote Linux server they want to keep an eye on using Blynk and the NodeMCU ESP8266. This little app also works (have tested as well) on the WeMos D1 ESP8266 Arduino board. The NodeMCU setup could not be easier, just find a... (8 Replies)
Discussion started by: Neo
8 Replies

5. Programming

Wuhan Coronavirus Status App for China - Rapid Prototype using MQTT and the IoT OnOff IOS App

With a little bit of work, was able to build a nice "Wuhan Coronavirus Status" app using MQTT and the IoT-OnOff app. More on this technique here: ESP32 (ESP-WROOM-32) as an MQTT Client Subscribed to Linux Server Load Average Messages The result turned out nice, I think. I like the look and... (10 Replies)
Discussion started by: Neo
10 Replies

6. Programming

A Slightly Better NTP Client for the ESP8266

Was not really happy with the NTP clients for the ESP8266 because, after a few years of game engine programming, I am not a fan of a lot of code and delays in the main loop, so here is a "slightly better NTP client" for the ESP8266. In a nutshell, instead of having a delay in the main loop as a... (1 Reply)
Discussion started by: Neo
1 Replies
NetSDS::Feature(3pm)					User Contributed Perl Documentation				      NetSDS::Feature(3pm)

NAME
NetSDS::Feature - abstract application feature SYNOPSIS
package NetSDS::Feature::DBI; use DBI; use base 'NetSDS::Feature'; sub init { my ($self) = @_; my $dsn = $self->conf->{dsn}; my $user = $self->conf->{user}; my $passwd = $self->conf->{passwd}; $self->{dbconn} = DBI->connect($dsn, $user, $passwd); } # Sample method - DBI::do proxy sub do { my $self = shift @_; return $self->{dbconn}->do(@_); } 1; DESCRIPTION
Application "features" are Perl5 packages with unified API for easy integration of some functionality into NetSDS applications infrastructure. "NetSDS::Feature" module contains superclass for application features providing the following common feature functionality: * class construction * initialization stub * logging CLASS METHODS
create($app, $conf) - feature constructor init() - feature initialization This method should be rewritten with feature functionality implementation. It's possibly to use application and configuration handlers at this time. Example: sub init { my ($self) = @_; $self->{answer} = $self->conf->{answer} || '42'; my $pid = $self->app->pid(); if ($self->app->daemon()) { $self->log("info", "Seems we are in a daemon mode"); } } OBJECT METHODS
app() - application object This method allows to use application methods and properties. print "Feature included from app: " . $self->app->name; conf() - feature configuration This method provides access to feature configuration. log($level, $message) - implements logging Example: # Write log message $self->log("info", "Application does something interesting."); See NetSDS::Logger documentation for details. EXAMPLES
See "samples/app_features.pl" script. SEE ALSO
o NetSDS::App AUTHOR
Michael Bochkaryov <misha@rattler.kiev.ua> LICENSE
Copyright (C) 2008-2009 Net Style Ltd. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA perl v5.10.1 2010-04-28 NetSDS::Feature(3pm)
All times are GMT -4. The time now is 08:10 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy