The grotto of Golden Stalactites--A grand an
comprehensive water cavern of gold,
deeply perspective,
with stalactiform arched roof. Cut
wings, representing vistas, running parallel
and harmonizing with that of the main Grotto,
the mouth of which (5 feet high by 5 feet wide)
discloses an open lake and distant shore at
back. Set transparent silver waters, in which
are seen sporting fishes and nondescript amphibea;
Diminutive fairies asleep on the waters
of the grotto in golden shells. Set ground or
shore-piece, richly studded with gold and jewels.
Set masses of Emerald and gold. R, L, + C. upon
and at the foot of which are reclining Gnomes
and Amphibea. Fairies asleep in poses R + L,
The Moon, seen through the opening at back and
over the distant shore of the lake, shows red
upon its face at the opening of the scene.
Music at change () Shortly
after which Dragonfin, who has been asleep
on a jewelled mass on the shore (C) slowly awakens,
rises and stretches himself. Upon turning
he sees the red upon the face of the moon. Music() chord)
Dragonfin
(Uttering a cry of alarm)
Awake, awake!
Music () hurry. Gnomes and Amphibea spring to their
feet; fairies and water nymphs enter hurriedly R + L;
Diminutive sprites in shells and fairies in poses
awaken)
Behold, there's blood upon the face of the moon, our Queen's
in danger, To arms, to arms!
Music hurried () The sprites in the shells disappear
R + L. The gnomes, amphibea and fairies rush off R + L
and immediately re-enter armed. The first named with
knotted clubs and tridents, the fairies with javelins.
During the action the red disappears from the face of
the moon and it resumes its natural color.
Dragonfin
(Seeing the change)
Stay, 'tis past. Hark.
Stalacta
(Is heard singing beneath the waters. All
bend forward and listen
Dragonfin
(After song)
'Tis she, our queen.
(ALL kneel, Music(). Stalacta rises C from the water
and steps on shore, assisted by Dragonfin
Stalacta
Arise, my loving subjects.
(All rise)
Dragonfin
Mistress, but now the light in yon great sapphire died out
and stains of blood flushed in the face of the pale moon.
You have 'scaped some deadly peril.
Stalacta
Thou art right. Listen all.
Tonight while wandering in the
fastnesses of the Hartz without my protecting talisman, I
heedlessly trod within one of the charmed circles of of our
enemy, the arch fiend Zamiel.
Stalacta
On the instant I was transformed into a white dove with
shorn pinions. From beneath the rank leaves of an adder-plant
glided a huge serpent. Its eyes were burning coals
its tongue a living flame I was paralyzed with fear and
powerless to move. Nearer and nearer it came, I felt its
stifling breath displace the purer air, I saw its venomed
fangs glist'ning in the pale moonlight. Ra ising from out
its deadly coil itself to strike when suddenly a youth a
mortal, strangely present in that wild wierd spot, seeing the
danger of the trembling bird seized a dead bough, which
chance had fashioned like a holy cross, and smote the foul
thing dead. Then bore me safely from the charmed spot and
gave me life and liberty.
Dragonfin
Revenge, revenge on the minions of Zamiel.
(Goes quickly off RHUE)
Stalacta
Nay, let no thought other than that
of joy mingle with this happy
time. Remember, 'tis my natal hour, and I would have it, as
in the past, a festal one. Let the invisible harmonies of
this our realm breathe sweetest concord only. And you, bright
Crystalline, with your four sisters, chase with flying feet
the silver hours.
(Seats herself on bank, C)
(Music(). The fairies form for
dance. After the first pose a loud prolonged warning note,
as if from a shell is heard outside at back.
All start in alarm and those hold the attitude of listening--
the sound is repeated. Music (#) hurry. The
pose is broken and the fairies gnomes and amphibea
the latter seizing their arms form an alarm on either
side. Dragonfin appears quickly through trap behind
1st set water and lands in front of ground piece.
Stalacta
Who,
at the first sound, has sprung to her feet)
Speak, what danger threatens?
Dragonfin
The sentinel shells, played upon by the watchful winds, give
alarm. Two daring mortals, armed with the enchanted magnet
of the Black Crook approach the secret entrance. Already
they have passed the white whirlpool in safety, they come
to despoil our realm of its glittering wealth.
Stalacta
Fear not the talisman they bear is powerless against the
spells that guard the portal.
(Echoed without and above)
Music(). Chorus by gnomes
Amphibea + fairies
Rejoice, rejoice, rejoice!
Sprites of the golden realm rejoice.
Daring mortals mock our power
Flushed with the drink that the heart makes bold,
Drunk with the thirst for the glittering gold
They madly rush on the fatal hour
Darks spells arise smite their longing eyes
That they never may gaze on the glittering prize.
Rejoice, rejoice, rejoice!
Sprites of the golden realms rejoice
Stalacta
My faithful subject
s ,
your Queen comm
a e
nds the zeal with which
you would guard from mortal sight our beauteous realm. But
ere these rash intruders perish I would gratify a strange desire.
Speed hence good Dragonfin. Catch me their shadows from
the bosom of the moon-lighted lake and cast them upon my faithful
mirror. I would look upon them ere they fade forever.
(Music(). Dragonfin prostrates himself before Stalacta,
springs into the water and disappears)
Stalacta
Begin the spell.
(Music()
Chorus by Fairies Speaks this
Stalacta can speak this
Mortal shadows dimly cast
By the mystic moonbeam's mystic ray
In the bosom of the lake
Hither hither fly away,
Flitting through the silver sheen
Come at summons of our Queen
Guardian spirits let them pass;
Cast their shadows on the glass
(Music(). Dragonfin springs from the water and after
prostrating himself before the queen rises and points
to the water. Music() Fairies wave their wands. A small arched
headed frame of gold and coral stalactites rises centre
at the distant entrance of the grotto, showing small
figures of Rodolphe + Greppo in boat The former at
the prow gazing anxiously forward, the latter aft in
the attitude of paddling
Stalacta
(who had crossed down RH turns when the picture
is fully shown--Chord() (Starting)
Ha, 'tis he! He must not perish. Invisible spirits avert
this peril.
Shades of mortals hovering near,
Join your masters--disappear.
(Music(). hurry. The mirror + figures quickly sink)
Stalacta
Dragonfin, come hither. Fly with swiftest speed to the rock
beneath the waters of the guarded entramce. When the frail
bark which now approaches shall be rent assunder by the relentless
spells that guard our realm be it your task to
snatch from death these daring mortals and bear them safely
hither.
(All start forward inquiringly exclaiming)
Mistress!
Stalacta
Nay, question me not, away, away.
Slaves of my power, obey, obey.
(Music(). hurry. Dragonfin bows low, springs into
the water and disappears. Music(). A small boat with
two mechanical figures or small doubles of Rodolphe +
Greppo, as they appeared in the mirror, appears from
LH outside at the distant entrance of the cavern and
moves very slowly across, when it reaches the centre
of the opening it sinks at the sound of the gong and
flash of lightning at back.
Music(). hurry. All the
gnomes, amphibea, etc. utter exclaminations of delight
and indulge in extravagant antics, until checked by a
gesture from Stalacta.)
(Soft music(
#
) Dragonfin rises slowly
from water (C) supporting on either side Rodolphe
and Greppo, the latter gasping violently for breath as
his head appears--they step on shore, Rodolphe + Greppo
lost in bewilderment. Dragonfin bows low before Stalacta.
The other Amphibea + Gnomes make a demonstration of
attack.
Stalacta
(Stepping between)
Forbear! Who moves again 'till I alone command, shall perish.
(They retire)
Rodolphe
(Rubbing his eyes)
Is this a phantasm--this glittering gold, yon flashing gems
these strange fantastic shapes? Have I then passed the portal
of an unknown world or am I dreaming?
Stalacta
Welcome, brave mortal, to our bright domain and you my subjects
know and greet your Queen's preserver.
(Music(). Gnomes and Amphibea cluster around Rodolphe
+ Greppo, rolling at their feet and indulging in various
grateful antics, after which the fairies surround
them and evince their delight.
Rodolphe
(Still bewildered)
If this indeed be not a dream tell me, bright being--you
whose simple motion seems to sway the moods and passions of
this elfin band, who art thou and where am I?
Stalacta
I am called Stalacta, queen of this dazzling realm. The glittering
wonders that assail thine eyes are not creations of
fantastic dreams but Nature's handiwork, wrought with cunning
fingers in a bounteous mood.
Greppo
(Greppo who has picked up a large mass of gold at back) comes
forward)
'Tis true, master, 'tis true, Behold this shining nugget.
Stalacta
Who is thy droll companion?
Rodolphe
My simple henchman, a faithful guide and servitor.
Stalacta
I bid him welcome for his master's sake.
Greppo
Thanks, thanks, your resplendent majesty, thanks.
Rodolphe
You speak of service done, have we then met before?
Stalacta
This very night.
Stalacta
Tonight, in the glen of fire, but not as now. Then a poor,
weak, fluttering, charm-encompassed bird, you snatched me
from the jaws of death, broke the dark spell of transformation
and gave to me the priceless boon of liberty.
Greppo
And so do I, phew, how the sparks flew when master smashed
the head of the scaly monster and such a smell of brimstone.
I do believe it was one of the B
e
elzebubs own imps in disguise.
Stalacta
Again thou art welcome,
this is my natal hour. Wilt view the
sports of this our carnival?
Stalacta
And while the revels proceed thou shalt tell me thy story.
(Music(). Seats are brought forward by Amphibea RH 1st Ent.
Stalacta and Rodolphe sit. Greppo disposes himself L.H.1st Ent,
amusing himself with Dragonfin, Gnomes and Amphibea
who present him from time to time with nuggets of gold
and jewels which he thrusts into his pockets until they
become greatly distended, during which action the diminutive
sprites re-appear in silver shells on water floating
to and fro, fishing The fairies form for dance. Grand
Ballet action by principals and full corps de Ballet,
during which the fishers in the shells are seen to catch
some small silver fish)
Greppo
(after the dance terminates)
Ha, ha, dancing
s
all very well in its way, but there's the
sport for me--fishing!  Oh, if there's one thing in
the world I love more than another its fishing--such fun to
feel the greedy rascals snap and see them wiggle. There's
another. Oh I can't stand it any longer, fishing's like
the measles, it's catching.
(Turning to Amphibea + Gnomes)
Would any of you handsome gentlemen oblige me with a spare
hook and line?
Dragonfin
(Nods assent and brings him rod + line)
Greppo
Well, upon my word, I'm obliged very much obliged to your scaly
magnificence. I'll do as much for you someday. By the way,
is your amphibious majesty fond of fish?
 All right, I'll make you a present of
the first ten-pounder I catch.
(Music(). He fishes from the shore R.C. and catches two
small fishes, the last quite dimunitive. The amphibea
gnomes and fairies laugh boisterously as each fist is
drawn forth)
Greppo
(coming down crestfallen)
Pshaw, mere sprats and sardines, not my kind at all. This
is too much like taking advantage of confiding innocence.
(To Dragonfin)
Couldn't your finny excellency oblige me with a more tempting
bait, something that would seduce some big, greedy wiggley waggley
fellow into taking a nibble?
Dragonfin
(Nods affirmatively) Music(). He goes to
the margin of the water and draws out a large crab which
he places in the hand of Greppo. It seizes him by the
fingers to the great delight of the Amphibea Gnomes and
fairies. He struggles frantically to extricate himself
and is finally released by Dragonfin, who baits the hook
with the crab and gives him the rod and line
Greppo
(Taking
Dragonfin apart confidentially)
I don't know about this. Excuse me for asking the question,
but, as an unprejudiced observer, don't you think this
style of bait more likely to bite the fish than the fish to
bite the bait?
Dragonfin
(Shakes his head and indicates that a large fish
will take it)
Greppo
All right, here goes then.
(Music(). He casts the line into the water. A moment
after it is violently seized and a frantic struggle
ensures, during which he is nearly drawn overboard
two or three times--
Suddenly an amphibeous monster
springs from the water and pursues Greppo around
off and on the stage to the great delight of the
Amphibea Gnomes and fairies who indulge in boisterous
laughter. Greppo in his terror throws himself at the
feet of Stalacta for protection, she rises and waves
her hand. The monster retires and is pacified by
Dragonfin
Greppo
(coming forward)
Really, my fishy-fleshy friend, you must excuse me. I beg
ten thousand pardons. I hadn't the remotest idea in the world
that any of you bottle green gentlemen were lying around loose
in the bottom, watching for a supper of raw crabs. Indeed I
hadn't.
(The Monster grows and makes a start at him.)
Music().
Dragonfin interposes and pacifies the monster by patting
him on the back then taking his hand passes it into
that of Greppo.)
Greppo
(shaking the monster's hand cordially)
All right, I accept your apology.
(Then turning to Dragonfin)
Now you're what I call a true friend--a friend in need. You
stick by a fellow when he hasn't the courage to stick by himself.
This is the second time you've done me a service. Once
in saving me from too much water and now in saving me from
too much luck, and I'll let you see that I can be grateful--
You like fish?
Dragonfin
(nods affirmatively)
Greppo
(Passing the monster over to him)
Consider him yours.
(All the Amphibea Gnomes and fairies laugh and go up)
Stalacta
(Rising & leading Rodolphe forward)
Thy story claims for thee my pity and my aid.
Rodolphe
And Hertzog the Black Crook--
Stalacta
Is a vile sorcerer whose dark unhallowed spells were wrought
for thy destruction.
Stalacta
Beneath the entrance to this charmed spot lie intertwined
among the branches of the coraline whole hecatombs of human
bones, the whitened relics of adventurous mortals, who like
thyself have sought this realm. Until tonight no human eye
has ever seen the dazzling splendor of this wondrous dome.

Had not thy coming
been to me forshadowed
and all my power been interposed to
snatch thee from the impending doom, then
thou
too had'st joined
the hapless throng that mouldering lies beneath yon depths.
Rodolphe
Then is thy debt to me already paid.
Stalacta
Not so. I am still thy debtor and must ever be. Thou art
environed by danger and need the power of my protection. Return
unto the outer world again, thy happiness is there, she
whom thou lovest is worthy of thy love, therefore return.
Rodolphe
Amina, dear Amina!
Stalacta
In the secret cells of this cavern whose walls are solid gold,
lie countless hoards of richest treasure, gleaned for ages
by the tireless gnomes. In the crystal depths of these
waters sparkle gems richer by far than human eyes have ever
gazed upon. Of these thou shalt bear with thee the choicest.
Behold my gift.
(Music(). A jewelled stalactiform etagere with strong light
from calcium rises (C) in front of ground-piece
bearing upon its different shelves rich vases
filled with gold and various colored jewels which Dragonfin
Gnomes + Amphibea remove performing a series of
grotesque evolutions to marked Music() Stalacta waves her hand; a golden
boat studded with jewels glides on from RH to RC
This bark, protected by a potent spell shall bear thee safely
to yon neighboring shore. My faithful gnomes shall be the
treasure bearers. But ere we part, take thou this jewelled
circlet.
(Gives him a ring from her finger)
Should danger threaten as perchance it will, for baffled
malice has a thousand stings--press but thy lips upon the gem
and thou wilt find me by thy side.
(Music(). Rodolphe kneels and kisses her hand)
(Raising him)
(Music(). He steps into the boat Greppo bearing
a large mass of gold affectionately embraces Dragonfin,
shakes hands with the gnomes and Amphibea kisses the
fairies, bows low to Stalacta and gets into the boat.
A Dolphin, glittering in green and gold, rises from behind
2nd or 3rd set waters with principal danseuse
bearing vase of treasure, other dolphins float on
R + L with diminutive sprites bearing treasure. Copious
shower of gold, the other sprites on the water catching
the flakes in silver shells. Poses by gnomes, Amphibea
and fairies. The whole scene brilliantly lighted.
Slow Curtain


UK weather forecast: Snow and two weeks of rain in one day as temperatures drop
The Met Office has issued a yellow weather warning for today, predicting more than two inches of rain in parts of the UK
by Matthew Dresch, https://www.mirror.co.uk/authors/matthew-dresch/Two weeks of rain is expected to fall in parts of the UK today, with snow on the horizon.
The Met Office has issued a weather warning for east Scotland, predicting up to 60mm of rainfall in places.
The alert started at midnight and will be in force until 11.59pm tonight, with forecasters raising the prospect of flooding.
Met Office meteorologist Marco Petagna said temperatures are set to drop this week, with snow possible in Scotland on Thursday.
He added: "There's a chance of snow on the mountains in Scotland on Thursday and possibly Friday.
"It will be close to freezing on the mountains. On Thursday, it will generally be between 7 and 10C (maximum).
"On Wednesday and Thursday night it will dip below freezing (in parts of the UK).
"Temperatures are falling this week. It's been fairly mild recently."
Mr Petagna said east Scotland will be battered by gale-force winds and heavy rain today, meaning some areas could see almost half the 121mm average monthly rainfall for November in the UK today.
Temperatures will peak at 13C, although the mercury will stay below 10C in the north of the country.
Fog could ruin bonfire night for some Brits, with widespread mist and fog expected tomorrow.
The Met Office weather warning for today states: "Rain will become prolonged and heavy at times during Sunday night and well into Monday across eastern Scotland, moving south into southeast Scotland during the day.
"15-25 mm of rain is expected widely, with the most exposed high ground seeing 40-60 mm.
"Strong east to northeasterly winds are also expected, particularly near coasts where gusts of 50 mph are likely during Monday afternoon."
Met Office five-day weather forecast
Today:
Heavy rain and strong winds continuing across eastern Scotland, moving into northern England later. Once fog patches clear, many places seeing showers, locally heavy particularly in the southwest, with some bright spells. Windy for a time in the far southwest.
Tonight:
Rain persisting over eastern Scotland and northeast England with showers around coasts of Wales and southern England. Some low cloud and fog forming over the Midlands and East Anglia.
Tuesday:
Cloudy and cold for the east with showers, particularly in the southeast. Drier in the west. Windy, particularly along the east coast of England but easing from the northwest later.
Outlook for Wednesday to Friday:
Cold, frosty and foggy in east at first, cloudy, windy and wet weather spreading from the west, then blustery showers. Sunshine and scattered showers, wintry in the north, on Friday.


|
SSD1306 OLED display driver
1.4.10
This library is developed to control SSD1306/SSD1331 RGB i2c/spi OLED displays and spi PCD8544 LED display
|
Functions | |
| void | pcd8544_84x48_init (void) |
| Inits 84x48 LED display (based on PCD8544 controller). More... | |
| void | pcd8544_84x48_spi_init (int8_t rstPin, int8_t cesPin, int8_t dcPin) |
| void | sh1106_128x64_init (void) |
| Inits 128x64 OLED display (based on SH1106 controller). More... | |
| void | sh1106_128x64_i2c_init (void) |
| Inits 128x64 OLED display over i2c (based on SH1106 controller). More... | |
| void | sh1106_128x64_spi_init (int8_t rstPin, int8_t cesPin, int8_t dcPin) |
| Inits 128x64 OLED display over spi (based on SH1106 controller). More... | |
| void | ssd1306_128x32_i2c_init (void) |
| Inits 128x32 OLED display over i2c (based on SSD1306 controller). More... | |
| void | ssd1306_128x32_init (void) |
| Inits 128x32 OLED display (based on ssd1306 controller). More... | |
| void | ssd1306_128x64_init (void) |
| Inits 128x64 OLED display (based on SSD1306 controller). More... | |
| void | ssd1306_128x64_i2c_init (void) |
| Inits 128x64 OLED display over i2c (based on SSD1306 controller). More... | |
| void | ssd1306_128x64_i2c_initEx (int8_t scl, int8_t sda, int8_t sa) |
| Inits 128x64 OLED display over i2c (based on SSD1306 controller). More... | |
| void | ssd1306_128x64_spi_init (int8_t rstPin, int8_t cesPin, int8_t dcPin) |
| Inits 128x64 OLED display over spi (based on SSD1306 controller). More... | |
| void | ssd1306_init (void) __attribute__((deprecated)) |
| Inits 128x64 OLED display over i2c (based on SSD1306 controller). More... | |
| void | ssd1331_96x64_init (void) |
| Inits 96x64 RGB OLED display (based on SSD1331 controller). More... | |
| void | ssd1331_96x64_spi_init (int8_t rstPin, int8_t cesPin, int8_t dcPin) |
| Inits 96x64 RGB OLED display over spi (based on SSD1331 controller). More... | |
| void | ssd1306_displayOff (void) |
| void | ssd1306_displayOn (void) |
| void | ssd1306_setContrast (uint8_t contrast) |
| void | ssd1306_invertMode (void) |
| void | ssd1306_normalMode (void) |
| void | ssd1306_flipHorizontal (uint8_t mode) |
| performs horizontal flip More... | |
| void | ssd1306_flipVertical (uint8_t mode) |
| performs vertical flip More... | |
| uint8_t | ssd1306_displayHeight (void) |
| uint8_t | ssd1306_displayWidth (void) |
| void pcd8544_84x48_init | ( | void | ) |
Inits 84x48 LED display (based on PCD8544 controller).
Inits 84x48 LED display (based on PCD8544 controller). User must init communication interface (i2c, spi) prior to calling this function.
Definition at line 68 of file pcd8544_84x48.c.
| void pcd8544_84x48_spi_init | ( | int8_t | rstPin, |
| int8_t | cesPin, | ||
| int8_t | dcPin | ||
| ) |
Inits 84x48 LED display over spi (based on PCD8544 controller)
| rstPin | - pin controlling LCD reset (-1 if not used) |
| cesPin | - chip enable pin to LCD slave (-1 if not used) |
| dcPin | - data/command pin to control LCD dc (required) |
Definition at line 84 of file pcd8544_84x48.c.
| void sh1106_128x64_i2c_init | ( | void | ) |
Inits 128x64 OLED display over i2c (based on SH1106 controller).
Inits 128x64 OLED display over i2c (based on SH1106 controller) This function uses hardcoded pins for i2c communication, depending on your hardware. If you use non-standard pins in your project, please perform call ssd1306_i2cInitEx() and sh1106_128x64_init().
Definition at line 88 of file sh1106_128x64.c.
| void sh1106_128x64_init | ( | void | ) |
Inits 128x64 OLED display (based on SH1106 controller).
Inits 128x64 OLED display (based on SH1106 controller). User must init communication interface (i2c or spi) prior to calling this function.
Definition at line 74 of file sh1106_128x64.c.
| void sh1106_128x64_spi_init | ( | int8_t | rstPin, |
| int8_t | cesPin, | ||
| int8_t | dcPin | ||
| ) |
Inits 128x64 OLED display over spi (based on SH1106 controller).
Inits 128x64 OLED display over spi (based on SH1106 controller)
| rstPin | - pin controlling LCD reset (-1 if not used) |
| cesPin | - chip enable pin to LCD slave (-1 if not used) |
| dcPin | - data/command pin to control LCD dc (required) |
Definition at line 94 of file sh1106_128x64.c.
| void ssd1306_128x32_i2c_init | ( | void | ) |
Inits 128x32 OLED display over i2c (based on SSD1306 controller).
Inits 128x32 OLED display over i2c (based on SSD1306 controller) This function uses hardcoded pins for i2c communication, depending on your hardware. If you use non-standard pins in your project, please perform call ssd1306_i2cInitEx() and ssd1306_128x32_init().
Definition at line 97 of file ssd1306_128x32.c.
| void ssd1306_128x32_init | ( | void | ) |
Inits 128x32 OLED display (based on ssd1306 controller).
Inits 128x32 OLED display (based on ssd1306 controller) spi or i2c bus must be initialized prior to calling this function.
Definition at line 82 of file ssd1306_128x32.c.
| void ssd1306_128x64_i2c_init | ( | void | ) |
Inits 128x64 OLED display over i2c (based on SSD1306 controller).
Inits 128x64 OLED display over i2c (based on SSD1306 controller) This function uses hardcoded pins for i2c communication, depending on your hardware. If you use non-standard pins in your project, please perform call ssd1306_i2cInitEx() and ssd1306_128x64_init(), or you can use ssd1306_128x64_i2c_initEx().
Definition at line 102 of file ssd1306_128x64.c.
| void ssd1306_128x64_i2c_initEx | ( | int8_t | scl, |
| int8_t | sda, | ||
| int8_t | sa | ||
| ) |
Inits 128x64 OLED display over i2c (based on SSD1306 controller).
Inits 128x64 OLED display over i2c (based on SSD1306 controller) This function uses hardcoded pins for i2c communication, depending on your hardware.
| scl | - i2c clock pin. Use -1 if you don't need to change default pin number |
| sda | - i2c data pin. Use -1 if you don't need to change default pin number |
| sa | - i2c address of lcd display. Use 0 to leave default |
Definition at line 108 of file ssd1306_128x64.c.
| void ssd1306_128x64_init | ( | void | ) |
Inits 128x64 OLED display (based on SSD1306 controller).
Inits 128x64 OLED display (based on SSD1306 controller). User must init communication interface (i2c, spi) prior to calling this function.
Definition at line 88 of file ssd1306_128x64.c.
| void ssd1306_128x64_spi_init | ( | int8_t | rstPin, |
| int8_t | cesPin, | ||
| int8_t | dcPin | ||
| ) |
Inits 128x64 OLED display over spi (based on SSD1306 controller).
Inits 128x64 OLED display over spi (based on SSD1306 controller)
| rstPin | - pin controlling LCD reset (-1 if not used) |
| cesPin | - chip enable pin to LCD slave (-1 if not used) |
| dcPin | - data/command pin to control LCD dc (required) |
Definition at line 114 of file ssd1306_128x64.c.
| uint8_t ssd1306_displayHeight | ( | void | ) |
| uint8_t ssd1306_displayWidth | ( | void | ) |
| void ssd1306_flipHorizontal | ( | uint8_t | mode | ) |
performs horizontal flip
Performs horizontal flip. If you need to turn display by 180 degree, please use both ssd1306_flipHorizontal() and ssd1306_flipVertical().
| mode | - 0 to disable horizontal flip 1 to enable horizontal flip |
| void ssd1306_flipVertical | ( | uint8_t | mode | ) |
performs vertical flip
Performs vertical flip. If you need to turn display by 180 degree, please use both ssd1306_flipHorizontal() and ssd1306_flipVertical().
| mode | - 0 to disable vertical flip 1 to enable vertical flip |
| void ssd1306_init | ( | void | ) |
Inits 128x64 OLED display over i2c (based on SSD1306 controller).
Inits 128x64 OLED display over i2c (based on SSD1306 controller) This function uses hardcoded pins for i2c communication, depending on your hardware. If you use non-standard pins in your project, please perform call ssd1306_i2cInitEx() and ssd1306_128x64_init(), or you can use ssd1306_128x64_i2c_initEx().
Definition at line 82 of file ssd1306_128x64.c.
| void ssd1306_invertMode | ( | void | ) |
| void ssd1306_normalMode | ( | void | ) |
| void ssd1306_setContrast | ( | uint8_t | contrast | ) |
| void ssd1331_96x64_init | ( | void | ) |
Inits 96x64 RGB OLED display (based on SSD1331 controller).
Inits 96x64 RGB OLED display (based on SSD1331 controller). User must init communication interface (i2c, spi) prior to calling this function.
Definition at line 107 of file ssd1331_96x64.c.
| void ssd1331_96x64_spi_init | ( | int8_t | rstPin, |
| int8_t | cesPin, | ||
| int8_t | dcPin | ||
| ) |
Inits 96x64 RGB OLED display over spi (based on SSD1331 controller).
Inits 96x64 RGB OLED display over spi (based on SSD1331 controller)
| rstPin | - pin controlling LCD reset (-1 if not used) |
| cesPin | - chip enable pin to LCD slave (-1 if not used) |
| dcPin | - data/command pin to control LCD dc (required) |
Definition at line 121 of file ssd1331_96x64.c.


Your browser doesn't support the canvas element.
3D Graphing Calculator Prototype
f(x,y) =
Generate
Javascript Math Constants and Functions


open var host: String
Overrides EngineConnectorConfig.host
The network interface this host binds to as an IP address or a hostname. If null or <IP_ADDRESS>, then bind to all interfaces.


Hi @ll.
I've tried to install the event module today, because that's the only thing that is missing at the moment from the perferct system ;)
It adds the event, but it does not send an email, as outlined in this post :http://openenergymonitor.org/emon/node/1299#comment-7644
Could someone php-savvy have a look, and perhaps try to bring that module to life ?
Thx,
TBP
Re: Emoncms Event module
As far as I am aware, Trystan "got as far as creating the functionality to create events" .. I was looking at creating a new alert type where it will call an external URL on any update. However, as the module is just a shell, I came to a grinding halt.I too would find this very useful.
Re: Emoncms Event module
Hi,
i'm also looking for it! It would be very precious, or even life/property saver.
Just thinking of: im getting an email to my phone when room temperature is above 50C so i should head home or call someone (family,neighbor/firefighters/etc.) to look after.
Re: Emoncms Event module
Been working on this .. not got email working as yet .. not sure how Trystan planned this .. which SMTP server would be used, for example ..
I also can't see how inactive will work .. as I am working on the system notifying when a live value comes through. The 'inactive' message is triggered with a check of a value .. inactive would need a cron job running to check every minute or so ..
If anyone is happy to delve about with the code, then you can see my changes here .. https://github.com/elyobelyob/emoncms.git & https://github.com/elyobelyob/event .. it requires a change to the core emoncms code .. so really requires someone with write permissions of emoncms etc to review and see whether they are happy with the changes. Anyway, it's nearly there and I'm more than happy with the cURL option that I've built into it.
Nick
Re: Emoncms Event module
Very cool that you're busy bringing this module to life!! What I've found about sending e-mails with PHP:
http://php.net/manual/en/function.mail.php and http://www.w3schools.com/php/php_mail.asp
http://email.about.com/od/emailprogrammingtips/qt/How-To-Validate-Email-Addresses-In-A-Php-Script.htm
But you probably already know about these pages?
Re: Emoncms Event module
Yeah, it's more a case of filling in the required variables e.g. SMTP server, username & password, HTTPS & Authentication etc ... I presume that these will be core details across the project and not event specific .. I'm not fussed about email alerts, and am looking at prowl messages direct to the mobile for instantaneous alerts e.g. using pushingbox.com ...
Re: Emoncms Event module
Well, will be spending more time on it .. and am not sure why it's not working with my incoming nodes at moment on my live machine .. it works on my localhost, but perhaps have to make changes elsewhere as well, all about testing at the moment ..
Re: Emoncms Event module
Oh, we moved to direct database integration .. will have to take a look at the *_run.php cron jobs .. and integrate into there as well ... will try and get a chance this weekend ...
Re: Emoncms Event module
Nope, needed to install php5-curl on my raspberry pi .. was running fine all the time :) Am receiving curl messages now .. not about to do the set_feed or email actions myself and hopefully someone else may want to take the reigns on that .. a lot of the work has been done.
Re: Emoncms Event module
Well, just started working on email .. however >> "Trystan .. I'm not getting a lot of feedback from you .. you about?!"
I don't want to spend my time on this if he is already on it, or thinks I am taking the wrong direction .. I have tried contacting via Google Talk and email .. but am not getting a lot of response ..
Would be useful to get some feedback ..
Re: Emoncms Event module
Have added in a 'mute' facility, so you can put in a quiet period so you won't get too many alerts. You can put in no mute, a minute delay, 10 minutes, 30 minutes, an hour, a day etc ... easy enough to add more in the html if required.
Just to remind, none of this is on the emoncms build or official event module. You won't get anything if you try and update ..
Re: Emoncms Event module
Currently adding native twitter and prowl scripts. Should have ready tomorrow. Merry Xmas!
Re: Emoncms Event module
Howly F! You're developing like a high speed train :-). Very excited to go out testing when it's done!!
Re: Emoncms Event module
Hi Elyob, is there already a update? I would like to try out your newly developed code :-).
Re: Emoncms Event module
Oops, left my laptop at my parents, so taking and enforced break! Also talking to Trystan, will give an update in New Year. Hopefully with a core module.
Re: Emoncms Event module
That's awesome, already looking forward to it!
Re: Emoncms Event module
I saw you did some updates to GitHub. Is it worth trying the code? Or still not easy to implement in a existing installation of emonCMS?
Re: Emoncms Event module
The module won't go with an existing emonCMS at present. It requires changes to the core.
Been chatting with Trystan online just now. Have given him collaborator access to my repo .. there's a few core changes we want to make. I am also investigating why my events aren't triggering on raspi updates .. so, I'd wait a bit longer I'm afraid ..
Re: Emoncms Event module
Cool, this really is a big step forward! Next step could be commanding a wireless sensor node (relay board or something) with these event triggers. So we could control stuff like a circulation pump, heater, lights, alarm etc. I think 2013 is going to be a awesome year for emonCMS!!
Thanks for all your effort so far!
Re: Emoncms Event module
<Drum roll> OK, the event module has been launched and merged into https://github.com/emoncms/event ... It's beta to allow you all to test. Basically, I only built the email function to work with gmail, so if you want to use something else you may need to mess with the code. So, set your email to port 465 (SSL) and smtp.gmail.com ...
You will need to have php5-mcrypt installed as the email password is hashed before storing. Oh and curl. Install that.
Update the core emoncms as well, as that has had some changes to get this to work.
So, hope it meets your needs. Enjoy!
Re: Emoncms Event module
@Nick
Great job mate, that's what's been seriously missing from the emoncms. Any future plans to add a native pushover support, perhaps ? :)
Re: Emoncms Event module
Hi,
thanks, its definitely a must have module!
copy over i got this error :
Fatal error: Call to undefined function get_user_salt() in /home/public_html/Modules/event/event_settings_view.php on line 20
what can it be? missing some lib in server?
Re: Emoncms Event module
.
Re: Emoncms Event module
I had the same error. I had to reinstall the core.
Re: Emoncms Event module
yes the function get_user_salt is a new addition to the user module. If you installed emoncms with github you can run:
In the emoncms directory
Re: Emoncms Event module
Thanks! This error is gone now, settings is working, but can't add new event...
db check says: all ok
Re: Emoncms Event module
Make sure you have latest event module, as I had left a small test code in there .... however, the front end of this (which I inherited and won't be touching) has JS which only really works on certain browsers. So, try FireFox to add/remove etc events ..
The increase/decrease check is a little heavy on teh database, so try not to add many of those. Will be looking to improve it later.
Re: Emoncms Event module
@TheBluProject .. r.e. pushover .. that should be really easy to add .. use the CURL method as in case 2 in event_model ...
Re: Emoncms Event module
aha.. that's it: firefox works, chrome not
now time to send out some emails...
i'm mainly using just trigger values for temp, humi etc. polled every 15 mins, haven't tried inc/dec yet, but thanks for the warning :-)
Re: Emoncms Event module
I only really built email for gmail ... so hope that's okay :) Personally, I use prowl on my iphone for all my alerts. Only issue I have is that each call uses CURL and waits for a response. So, getting my events in the correct order is key for me. I would prefer to have some method of multi-tasking this. Some of my usage is security, so instant messages are preferable.
Re: Emoncms Event module
Hi, just having a look at the events module, all seems to have installed ok and I was planning to try out prowl but im not getting any notifications.
I get true statements in the events list and have also entered my prowl api key but nothing comes through.
Any pointers for me to check if I have missed something? I have emoncms running on the pi.
many thanks
David
Re: Emoncms Event module
Hi David, I don't believe that the events module is working with the current version of emoncms, having posted about it myself recently and also having contacted the openenergymonitor team.
They are aware of the problem and hope to resolve the issues shortly.
P.S. are you using an app to receive the push messages, if so which one.
Paul
Re: Emoncms Event module
Hi Paul, thanks for the update, I purchased the official Prowl app on the iPhone and also have growl installed on a mac at home.
Re: Emoncms Event module
I was considering changing the code slightly (when it's working again) to use the Boxcar app - as I already use it for other alerts, but having looked at the event module code I may wimp out and buy the Prowl: Growl client instead!
Paul
Re: Emoncms Event module
hi, I started using event module yesterday; I could send email with no problem. after I installed other modules, such as Notify and I noted that when I pushed on test button on Event module, I receive an error's email from Notify.
Today I corrected the problem with Notify but now I don't receive any more email from Event; even test email; I can receive only update on NMA.
I tried to write again settings but is did not resolve. I tried also to download again the project.
Re: Emoncms Event module
Got to say I was a little surprised to see the introduction of 'Notify', especially because the 'event' module has this function already built in, and which has much greater flexibility re inactivity timings and methods of alerting - email, push, prowl etc.
IMHO the 'event' module is a much neater and flexible solution for stand alone systems, and which works efficiently (pre Timestore).
Paul
Re: Emoncms Event module
'Notify' isn't bad idea because it works globally, i.e. I don't have to set 45 events in my case. I only wish the 2 hours weren't hard coded, but I understand the rationale behind that decision
Re: Emoncms Event module
I can see see the reason why it was developed Martin, but wouldn't it have been more desirable to add the function into the event module?
Something like a tickbox to activate, and a drop down menu to select the alert period in say 15 minute intervals, leading up to 2hrs max. Cron could then run every 15 minutes to flag dead feeds. The advantage to this IMO is that all alerts would be contained in one module/menu, and the actual email/push/prowl options are already in there.
Paul
Re: Emoncms Event module
there is no one who can not send email through event module?
Re: Emoncms Event module
Would it be possible to add an "Exec script" event ? So we can fire a shell/php/py script ...
IF node18_temp > 20, exec_script "shutdown_heater" ;)
Teo
Re: Emoncms Event module
Hi, it is already possible to call an url, that is pretty much the equivalent than executing a shell script.
Just have the event module call a script like /custom/my.php inside which you execute whatever shell script you need using the 'system' function
Re: Emoncms Event module
Tried the system or exec function.... nothing.

Something with php's safe mode ?
Thanks madmatt
Re: Emoncms Event module
Can you run your script from the shell?
Are you using the full path to the script?
Is the script executable by all users, or is it owned by the user under which apache runs (www-data in raspbian) ?
Is the script doing something that requires root or that runs other commands and assumes a particular path?
Did you try with a simpke script that echoes to a file in /tmp/ to check what part of the run is failing?
Re: Emoncms Event module
Script placed in var/www/emoncms, executable by all, is just doing some:
echo 'RLY21' >/dev/ttyUSB0
Script is doing OK when run from shell.
Owned by pi or by www-data, no change
Re: Emoncms Event module
Put it in /var/www/scripts/ and change the url accordingly.
I believe emoncns has some rewrite rules in place to forward everything to index.php
Re: Emoncms Event module
Maybe someone else has problems to install the event module ! ?
I follow the simple instructions :
sudo apt- get update
sudo apt- get install php5 - Mcrypt php5 - curl
cd / var / www / emoncms / Modules
sudo git clone https://github.com/emoncms/event.git
Installation was successful, even appeared on the EXTRA menu Event button , but when I stamped on a button , a blank page appears . When using Crome browser show statement .
server error
Reload Less
The website encountered an error while Retrieving http://<IP_ADDRESS>/emoncms/event . It May be down for maintenance or configured incorrectly .
Error code: 500
Maybe someone can observe something wrong on the installation screens :
pi @ raspberrypi ~ $ sudo su
root @ raspberrypi :/ home / pi # sudo apt- get update
http://mirrordirector.raspbian.org wheezy InRelease [14.9 kB]">Get 1 http://mirrordirector.raspbian.org wheezy InRelease [ 14.9 kB ]
http://archive.raspberrypi.org wheezy InRelease [7,752 B]">Get 2 http://archive.raspberrypi.org wheezy InRelease [ 7,752 B]
http://archive.raspberrypi.org wheezy/main armhf Packages [7,412 B]">Get 3 http://archive.raspberrypi.org wheezy / main armhf Packages [ 7.412 B]
http://mirrordirector.raspbian.org wheezy/main armhf Packages [7,413 kB]">Get 4 http://mirrordirector.raspbian.org wheezy / main armhf Packages [ 7.413 kB ]
http://archive.raspberrypi.org wheezy/main Translation-en_GB">Ign http://archive.raspberrypi.org wheezy / main Translation - en_GB
http://archive.raspberrypi.org wheezy/main Translation-en">Ign http://archive.raspberrypi.org wheezy / main Translation -en
http://mirrordirector.raspbian.org wheezy/contrib armhf Packages [23.2 kB]">Get : 5 http://mirrordirector.raspbian.org wheezy / contrib armhf Packages [ 23.2 kB ]
http://mirrordirector.raspbian.org wheezy/non-free armhf Packages [48.0 kB]">Get : 6 http://mirrordirector.raspbian.org wheezy / non -free armhf Packages [ 48.0 kB ]
http://mirrordirector.raspbian.org wheezy/rpi armhf Packages [569 B]">Get : 7 http://mirrordirector.raspbian.org wheezy / worms armhf Packages [ 569 B]
http://mirrordirector.raspbian.org wheezy/contrib Translation-en_GB">Ign http://mirrordirector.raspbian.org wheezy / contrib Translation - en_GB
http://mirrordirector.raspbian.org wheezy/contrib Translation-en">Ign http://mirrordirector.raspbian.org wheezy / contrib Translation -en
http://mirrordirector.raspbian.org wheezy/main Translation-en_GB">Ign http://mirrordirector.raspbian.org wheezy / main Translation - en_GB
http://mirrordirector.raspbian.org wheezy/main Translation-en">Ign http://mirrordirector.raspbian.org wheezy / main Translation -en
http://mirrordirector.raspbian.org wheezy/non-free Translation-en_GB">Ign http://mirrordirector.raspbian.org wheezy / non -free Translation - en_GB
http://mirrordirector.raspbian.org wheezy/non-free Translation-en">Ign http://mirrordirector.raspbian.org wheezy / non -free Translation -en
http://mirrordirector.raspbian.org wheezy/rpi Translation-en_GB">Ign http://mirrordirector.raspbian.org wheezy / worms Translation - en_GB
http://mirrordirector.raspbian.org wheezy/rpi Translation-en">Ign http://mirrordirector.raspbian.org wheezy / worms Translation -en
Fetched 7.515 kB in 1min 10s (106 kB / s)
Reading package lists ... Done
root @ raspberrypi :/ home / pi # sudo apt- get install php5 - Mcrypt php5 - curl
Reading package lists ... Done
Building Dependency Tree
Reading state information ... Done
Following the extra packages will be installed :
libapache2 - mod - php5 libmcrypt4 php5 - cli php5 -common php5 - mysql
Suggested packages :
libmcrypt - dev Mcrypt
The Following NEW packages will be installed :
libmcrypt4 php5 - curl php5 - Mcrypt
Following the packages will be upgraded :
libapache2 - mod - php5 php5 - cli php5 -common php5 - mysql
4 upgraded , 3 newly installed , 0 to remove and 220 not upgraded .
Need to get 5,646 kB of archives .
After this operation , 379 kB of additional disk space will be used .
Do you want to Continue [ Y / n] ? y
http://mirrordirector.raspbian.org/raspbian/ wheezy/main php5-cli armhf 5.4.4-14+deb7u4 [2,431 kB]">Get 1 http://mirrordirector.raspbian.org/raspbian/ wheezy / main php5 - cli armhf 5.4.4-14 + deb7u4 [ 2.431 kB ]
http://mirrordirector.raspbian.org/raspbian/ wheezy/main php5-mysql armhf 5.4.4-14+deb7u4 [68.8 kB]">Get 2 http://mirrordirector.raspbian.org/raspbian/ wheezy / main php5 - mysql 5.4.4-14 + armhf deb7u4 [ 68.8 kB ]
http://mirrordirector.raspbian.org/raspbian/ wheezy/main libapache2-mod-php5 armhf 5.4.4-14+deb7u4 [2,443 kB]">Get 3 http://mirrordirector.raspbian.org/raspbian/ wheezy / main libapache2 - mod - php5 5.4.4-14 + armhf deb7u4 [ 2,443 kB ]
http://mirrordirector.raspbian.org/raspbian/ wheezy/main php5-common armhf 5.4.4-14+deb7u4 [585 kB]">Get 4 http://mirrordirector.raspbian.org/raspbian/ wheezy / main php5 -common 5.4.4-14 + armhf deb7u4 [ 585 kB ]
http://mirrordirector.raspbian.org/raspbian/ wheezy/main php5-curl armhf 5.4.4-14+deb7u4 [27.1 kB]">Get : 5 http://mirrordirector.raspbian.org/raspbian/ wheezy / main php5 - curl armhf + deb7u4 5.4.4-14 [ 27.1 kB ]
http://mirrordirector.raspbian.org/raspbian/ wheezy/main libmcrypt4 armhf 2.5.8-3.1 [77.0 kB]">Get : 6 http://mirrordirector.raspbian.org/raspbian/ wheezy / main libmcrypt4 armhf 2.5.8-3.1 [ 77.0 kB ]
http://mirrordirector.raspbian.org/raspbian/ wheezy/main php5-mcrypt armhf 5.4.4-14+deb7u4 [14.0 kB]">Get : 7 http://mirrordirector.raspbian.org/raspbian/ wheezy / main php5 - Mcrypt armhf + deb7u4 5.4.4-14 [ 14.0 kB ]
Fetched 5,646 kB in 12s ( 456 kB / s)
( Reading database ... 67742 files and directories currently installed . )
Preparing to replace php5 - cli 5.4.4-14 ( using ... / php5 - cli_5.4.4 -14 + deb7u4_armhf.deb ) ...
Unpacking replacement php5 - cli ...
Preparing to replace libapache2 - mod - php5 5.4.4-14 ( using ... / libapache2 - mod - php5_5.4.4 -14 + deb7u4_armhf.deb ) ...
Unpacking replacement libapache2 - mod - php5 ...
Preparing to replace php5 - mysql 5.4.4-14 ( using ... / php5 - mysql_5.4.4 -14 + deb7u4_armhf.deb ) ...
Unpacking replacement php5 - mysql ...
Preparing to replace php5 -common 5.4.4-14 ( using ... / php5 - common_5.4.4 -14 + deb7u4_armhf.deb ) ...
Unpacking replacement php5 -common ...
Selecting Previously unselected package php5 - curl .
Unpacking php5 - curl ( from ... / php5 - curl_5.4.4 -14 + deb7u4_armhf.deb ) ...
Selecting Previously unselected package libmcrypt4 .
Unpacking libmcrypt4 ( from ... / libmcrypt4_2.5.8 - 3.1_armhf.deb ) ...
Selecting Previously unselected package php5 - Mcrypt .
Unpacking Mcrypt - php5 ( from ... / php5 - mcrypt_5.4.4 -14 + deb7u4_armhf.deb ) ...
Processing triggers for man- db ...
Setting up php5 -common ( 5.4.4-14 + deb7u4 ) ...
Setting up php5 - cli ( 5.4.4-14 + deb7u4 ) ...
Setting up libapache2 - mod - php5 ( 5.4.4-14 + deb7u4 ) ...
[....] Reloading web server config : apache2apache2 : Could not reliably DETERMINE the server 's fully qualified domain name , using <IP_ADDRESS> for ServerName
. ok
Setting up php5 - mysql ( 5.4.4-14 + deb7u4 ) ...
Setting up php5 - curl ( 5.4.4-14 + deb7u4 ) ...
Creating config file / etc/php5/mods-available/curl.ini with new version
Setting up libmcrypt4 ( 2.5.8-3.1 ) ...
Setting up php5 - Mcrypt ( 5.4.4-14 + deb7u4 ) ...
Creating config file / etc/php5/mods-available/mcrypt.ini with new version
Processing triggers for libapache2 - mod - php5 ...
[....] Reloading web server config : apache2apache2 : Could not reliably DETERMINE the server 's fully qualified domain name , using <IP_ADDRESS> for ServerName
. ok
root @ raspberrypi :/ home / pi # cd / var / www / emoncms / Modules
root @ raspberrypi :/ var / www / emoncms / Modules # sudo git clone https://github.com/emoncms/event.git
Cloning into ' event ' ...
remote : Counting objects : 548 , done .
remote : Compressing objects : 100 % ( 347/347 ) , done .
remote : Total 548 ( delta 206 ) , reused 536 ( delta 198 )
Receiving objects : 100 % ( 548/548 ) , 731.05 KiB | 250 KiB / s, done .
Resolving delta : 100 % ( 206/206 ) , done .
root @ raspberrypi :/ var / www / emoncms / Modules #
Maybe problem caused those rows: that Reloading web server config : apache2apache2 : Could not reliably DETERMINE the server 's fully qualified domain name , using <IP_ADDRESS> for ServerName
Thanx for this great project :)
Re: Emoncms Event module
Only thing I can think .. is mod_rewrite .. is that all setup ok?
Apart from that, should behave like any other module.
Re: Emoncms Event module
where can i see this mod_rewrite ?
Re: Emoncms Event module
Still my php system/exec function issue in emoncms config...
My php script:
<?php
system("/var/www/scripts/test.sh");
?>
my shell script:
#!/bin/bash
echo 'RLY21' >/dev/ttyUSB0
Believe it or not, using apache2 http://IP/scripts/test.php => NOTHING
Starting a php server with php -S <IP_ADDRESS>:8088 and query http://IP:8088/scripts/test.php => ALL IS OK
... i checked, emoncms is running php 5.4.4, so no more SAFE_mode and safe_mode_dir_exec..........
I can't see any blocking directive in php.ini or apache2.conf
Re: Emoncms Event module
I just found !!!
First, to diagnose the problem, i activated errorlog in apache2.conf, easier to find out what's wrong !
In errorlog, got:
/var/www/scripts/test.sh: 2: /var/www/scripts/test.sh: cannot create /dev/ttyUSB0: Permission denied
So i did: chmod a+x /dev/ttyUSB0 and magic, it worked !
a+x is not ideal for a security manner so i'm now looking in which group to add www-data,
i 1st tried dialout but it's not the good one.
So cool ! I can know drive my electric heaters based on temps from sensors.
Cool scenarios can be created.... ex: when room temp decrease of 5° in 5 minutes, you can bet the window
has been opened so shutdown the heater automaticaly if you forgot it.
Except.......
i create events like: if node_20_temp is more than 20, call url http://<IP_ADDRESS>/scripts/test.php
node_20_temp is reaching 28°.... nothing.... but when i click TEST button, it works.
How often event module is checking the condition ?
Because i don't see any crontab entry neither in www-data,pi or root.
Re: Emoncms Event module
On the event line, "last true" seems weird too:
Last true: 1970-1-1 00:00:00
Re: Emoncms Event module
Theodore, that time relates to Unix time, which broadly speaking is the number of seconds that have passed since 00hrs 1st Jan 1970, see this converter.
So if the event module has never triggered, it will interpret the '0' as 1970-1-1 00:00:00
Try putting a zero in the online converter.
Paul
Re: Emoncms Event module
Teo, which version of emoncms are you running? It may be necessary to uncomment a couple of lines in feed_model.php if you're not running a current version ....
Re: Emoncms Event module
Madmatt, i did the modification you posted there: http://openenergymonitor.org/emon/node/2448
And magic, events now work !
Paul, you're right, the events just get to work, now the last true log is correct:
Last true: 2013-9-8 20:51:04
2 problems solved at a time ! Thank you guys !
I'm runng emoncms v5 + rasp + events with some "funky v1" temp sensors from Martin Harizanov.
Last weirdness: the sensors brodcast their temp and battery value each 5 minutes, but the feeds seems
to get updates not on a regular basis. Sometimes 13 minutes, sometimes 78 minutes, sometimes 44 minutes.. etc
If the temperature submitted by the node is the same than the last logged temp, the feed isn't updated ?
Again, thank's to both of you for your help !
Re: Emoncms Event module
Hi Guys,
Anyone able to get his module to work with 2-step verification enabled on their Gmail ? Thanks
Re: Emoncms Event module
Yes, get a application specific password from your gmail account, instead of trying to use your gmail master password.
Paul
Re: Emoncms Event module
For anyone still interested in the EVENT Module, http://openenergymonitor.org/emon/node/9984 this forum post has some more working information, especially the e-mail section.
..aniston
Re: Emoncms Event module
Is it planned to add the EVENT module to the emoncms installation on the emoncms.org server, e.g. like the My Heatpump Extra was added just before? I could not find any information on this so far. It seems that the module can be added to local emoncms servers only.
I guess the EVENT module is a great feature that adds much value to OEM (at least email service is sufficient for now). It's very important to get informed about abnormal conditions (e.g. sensor node outages, etc.) without having an eye on the server day-by-day.
By the way, OEM is working very well - Great Job!
--klaus.
[3 duplicates of this post deleted. If your comment does not appear, please check to see if it is held for moderation. - RW]
Re: Emoncms Event module
Hello everyone
Any help from this error when i open Event settings Link
Fatal error: Call to undefined function mcrypt_decrypt() in /var/www/html/emoncms/Modules/event/event_settings_view.php on line 24
Am using emonCMS 8.4.0
Thanks
Mandela


Peugeot's 2022 WEC Entry Should Result In New Production Hypercar
More should be revealed early next year.
by Anthony KarrPeugeot is definitely not among the brands known for their supercars and hypercars but this might change in the not-so-distant future. The French marque has just confirmed it will return to the FIA World Endurance Championship in 2022 and while the exact details of its program are not known yet, this move basically means the brand should launch a production hypercar.
FIA has introduced a new Hypercar class for the WEC series, which will be launched for the 2020/2021 season. The main goal of the new project is to ensure manufacturers will have significantly smaller budgets, no larger than one-quarter of current levels in LMP1, and that there will be "freedom of design based on a hypercar concept."
Le Mans Hypercar Fighters:
In its official statement, Peugeot indeed says that “the significant cost savings permitted by the WEC’s new Hypercar regulations and the confirmation that the series will feature hybrid power units” led PSA Group to approve Peugeot’s future participation in the world’s premier endurance racing championship from 2022.
The regulations of the new series dictate that every manufacturer should build at least 20 road-legal examples of the hypercars that are going to be used in the competition. Simply put, a Peugeot-badged hypercar should be released within the next two years and we hope to get more details about it very soon, as the marque promised that “details of the program will be announced at the beginning of 2020.”
Gallery: Peugeot 908 Le Mans Prototype expected to fetch €1.2-1.6 million
Peugeot left the endurance championship in 2011 and will return a decade later to defend its “24 Hours of Le Mans” triumph with the 908 HDi FAP LMP1 race car from 2009. This is not the brand’s only first place in the world’s most famous endurance race, as back in 1992 and 1993 it won the race during the last two years of the Group C era.
Source: Peugeot
Show press release
The Groupe PSA Executive Committee has closely studied the proposal submitted by PSA Motorsport and supported by the Peugeot brand to contest the FIA World Endurance Championship, the eight-round calendar of which concludes with the Le Mans 24 Hours.
The significant cost savings permitted by the WEC’s new Hypercar regulations and the confirmation that the series will feature hybrid power units led the Groupe PSA Executive Committee to approve the Peugeot brand's proposal to participate in the world’s premier endurance racing championship from 2022, with marketing benefits in-line with Groupe PSA standards. Details of the programme will be announced at the beginning of 2020.
Said PSA Motorsport Director Jean-Marc Finot: "I am very excited at the prospect of channelling the skills and passion of my team into this project. It is a new challenge and I know our experts will rise to it with another demonstration of their will to win with teams financed by the Group’s brands, fuelled by their long experience of topflight FIA championships and hunger for success."
Said Peugeot Brand Director Jean-Philippe Imparato: "The Peugeot brand’s passion for motorsport has always played a core role in achieving the many victories we have scored in our history. The changes that the FIA WEC is introducing fit now with the transition we are undergoing ourselves with the electrification of our range and the launch of high-performance products, developed in close association with PSA Motorsport and foreshadowed by the Concept 508 Peugeot Sport Engineered. These initiatives are completely in tune with Peugeot’s ‘Motion and E-motion’ brand signature."


>>> qa = adaptnlp.EasyQuestionAnswering()
>>> qa.predict_qa(query='What is life?', context='Life is NLP.', n_best_size=5, mini_batch_size=1)
qa_model = EasyQuestionAnswering()
text = """Amazon.com, Inc.[6] (/ˈæməzɒn/), is an American multinational technology company based in Seattle,
Washington that focuses on e-commerce, cloud computing, digital streaming, and artificial intelligence.
It is considered one of the Big Four technology companies along with Google, Apple, and Facebook.[7][8][9]
Amazon is known for its disruption of well-established industries through technological innovation and mass
scale.[10][11][12] It is the world's largest e-commerce marketplace, AI assistant provider, and cloud computing
platform[13] as measured by revenue and market capitalization.[14] Amazon is the largest Internet company by
revenue in the world.[15] It is the second largest private employer in the United States[16] and one of the world's
most valuable companies. Amazon is the second largest technology company by revenue. Amazon was founded by Jeff Bezos
on July 5, 1994, in Bellevue, Washington. The company initially started as an online marketplace for books but later
expanded to sell electronics, software, video games, apparel, furniture, food, toys, and jewelry. In 2015, Amazon
surpassed Walmart as the most valuable retailer in the United States by market capitalization.[17] In 2017, Amazon
acquired Whole Foods Market for $13.4 billion, which vastly increased Amazon's presence as a brick-and-mortar
retailer.[18] In 2018, Bezos announced that its two-day delivery service, Amazon Prime, had surpassed 100 million
subscribers worldwide
"""
top_prediction, all_nbest_json = qa_model.predict_qa(query="What does Amazon do?", context=text, n_best_size=10, mini_batch_size=1, model_name_or_path="distilbert-base-uncased-distilled-squad")
test_eq(top_prediction, 'disruption of well-established industries')


{% include 'user_auth/logout.html' %}
{{ course.description|linebreaksbr }}
{{ course.author }}
Year of study {{ course.year_of_study }}


{% extends 'accounts/base.html' %} {% block title %}
Taskilon is a task management app, developed by Arjun Thakur. This app has been backed by django, a python framework for developing really amazing web application, super easily. You can create account on this app either via Sign up Form or via any one of your account on social networking site such as Google, Facebook, etc.
After creating the account, go to your profile and add Tasks you want to complete. Click/tap on the checkbox in front of task name that you've already completed.
If you find any issue/bug, want some improvemnets, please report it @taskilon. It is always good to have different minds working on a single thing. Therefore, this app is open-sourced, and contributors are always welcome.


library(lgr)
If you care about terse syntax you can use the following UPPERCASE
1 commands to log:
FATAL("This is an important message about %s going wrong", "something")
#> FATAL [12:43:15.586] This is an important message about something going wrong
ERROR("A less severe error")
#> ERROR [12:43:15.645] A less severe error
WARN("something likely went wrong")
#> WARN [12:43:15.683] something likely went wrong
INFO("Everything is ok")
#> INFO [12:43:15.685] Everything is ok
DEBUG("Debug messages are hidden by default")
console_threshold("debug") # you must use lower case names here
DEBUG("unless we lower the threshold")
#> DEBUG [12:43:15.690] unless we lower the threshold
TRACE("Trace is even lower than debug")
If you have the package data.table installed, lgr does not only log to the console, but also to an in memory data.table
. You can use show_log()
to quickly display this in memory log2.
show_log(3) # show the last 3 log entries
If you looked carefully, you see that both debug messages were logged to memory (not only the one that you saw in the console). This is explained in the section on thresholds.
If you are wondering why I decided on ALL-CAPS
for the logging functions: It distinguishes log calls well from normal code, and also all the good names are already taken by base R functions (log()
, trace()
, debug()
). Many R packages deal with this issue by using prefixes (like log_debug()
), but I do not like that idea. In any case that is pretty to close to what you get when you use the R6 logging syntax↩
If you want to know more about interacting with the data.table Appender see the help for ?AppenderDt
.↩


{{ template "header.html" . }}
Castro AAC is made thanks to the following people:
{{ $commit.commit.committer.date }} by {{ $commit.committer.login }}
Learn more about Castro AAC


How to install the mitmproxy certificate authority in Windows 7:
- The easiest way to get the certificate to the device is to use the web app. If this fails for some
reason, simply copy the ~/.mitmproxy/mitmproxy-ca-cert.p12 file to the
target system and double-click it.
-
You should see a certificate import wizard:
-
Click "Next" until you're prompted for the certificate store:
-
Select "Place all certificates in the following store", and select "Trusted Root Certification Authorities":
- Click "Next" and "Finish".


FLAC-1.3.3
Installation of FLAC
Install FLAC by running the
following commands:
./configure --prefix=/usr \
--disable-thorough-tests &&
make
To test the results, issue: make
check. Note that if you passed the --enable-exhaustive-tests
and --enable-valgrind-testing
parameters to
configure and then
run the test suite, it will take a very long time (up to 300 SBUs) and use
about 375 MB of disk space.
Now, as the root
user:
make install
Command Explanations
--disable-thorough-tests
:
This parameter is used so that the test suite will complete in a
reasonable amount of time. Remove it if you desire more extensive
tests.
Contents
Installed Programs:
flac and metaflac
Installed Libraries:
libFLAC.so and libFLAC++.so
Installed Directories:
/usr/include/FLAC, /usr/include/FLAC++
and /usr/share/doc/flac-1.3.3
Short Descriptions
|
flac
|
is a command-line utility for encoding, decoding and
converting FLAC files.
|
|
metaflac
|
is a program for listing, adding, removing, or editing
metadata in one or more FLAC files.
|
|
libFLAC{,++}.so
|
these libraries provide native FLAC and Ogg FLAC C/C++
APIs for programs utilizing FLAC.
|
Last updated on 2020-02-17 18:27:03 -0800


{% extends "_base.html" %}
{% load compress %}
{% comment %}
This sitemap should contain all full pages of the site that don't need parameters.
They are mostly sorted by application, except when the only listable page is
only visible from the user dashboard → it is then listed in the "Account" section.
The core, home and pages apps are also grouped together for reader convenience.
Pages that are supposed to appear in modals or are merely confirmation pages are excluded.
Pages that are only supposed to be visible under specific conditions (eg. organization create)
are also excluded.
{% endcomment %}
{% block extratitle %}Plan du site{% endblock extratitle %}
{% block meta_description %}Plan du site{% endblock meta_description %}
{% block extra_head %}
{% endblock extra_head %}
{% block breadcrumbs %}
{% endblock breadcrumbs %}
{% block content %}
Plan du site
Accueil et pages génériques
{# App: geofr #}
Cartographie
{# App: search #}
Portails
{# App: programs #}
Programmes
{# App: projects #}
Projets
{# App: stats #}
Statistiques
{% endblock content %}
{% block extra_css %}
{% compress css %}
{% endcompress %}
{% endblock extra_css %}
{% block extra_js %}
{% endblock extra_js %}