This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Flow to collect data and do some cosmetics for easy use | |
------------------------------------------------------- | |
[{"id":"da6359b0.b70c18","type":"inject","z":"b96f9c86.269df","name":"GetMaxStatus","topic":"","payload":"true","payloadType":"bool","repeat":"120","crontab":"","once":true,"x":120,"y":660,"wires":[["16dd8fcc.73ed4"]]},{"id":"dbd2c465.a601f8","type":"switch","z":"b96f9c86.269df","name":"MaxSwitch","property":"payload.rf_address","propertyType":"msg","rules":[{"t":"eq","v":"0c975a","vt":"str"},{"t":"eq","v":"0c9768","vt":"str"},{"t":"eq","v":"0c98bd","vt":"str"},{"t":"eq","v":"0c98c6","vt":"str"},{"t":"eq","v":"0ca84e","vt":"str"}],"checkall":"true","outputs":5,"x":110,"y":1020,"wires":[["375772aa.47842e","d030e6ae.5ebc68","6ed5536c.4198cc"],["989ccf5d.9275b","3fce1e5.18b1ae2","1daa2389.bb563c"],["172c3cd.16dd9c3","3d3c8b7a.85c824","8f9e6adb.389bd8"],["a0c89a54.b6cba8","4571c950.f02738","8e874b35.819328"],["3c78114d.c79cde","a1c4af3a.cd5a5","bb0f9d7e.78621"]]},{"id":"918d3397.bb1eb","type":"link out |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env runhaskell | |
{- | |
The MIT License (MIT) | |
Copyright (c) 2015 Wasif Hasan Baig <pr.wasif@gmail.com> | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env runhaskell | |
-- cabal depedencies: | |
-- | |
-- * containers | |
-- * pandoc-types | |
-- * uu-parsinglib | |
-- | |
{-# LANGUAGE RankNTypes #-} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python | |
""" | |
Pandoc filter to convert svg files to pdf as suggested at: | |
https://github.com/jgm/pandoc/issues/265#issuecomment-27317316 | |
""" | |
__author__ = "Jerome Robert" | |
import mimetypes | |
import subprocess |