Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 19 additions & 4 deletions config.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
{
"id": "devicetimer",
"version": "1.5.1",
"name": "DeviceTimer",
"short_description": "For creating timed Lightning Feeders",
"repo": "https://github.com/DoktorShift/DeviceTimer",
"short_description": "Time-controlled Bitcoin Lightning switches for IoT devices",
"description": "",
"tile": "/devicetimer/static/image/devicetimer128.png",
"version": "1.0.0",
"min_lnbits_version": "1.4.0",
"contributors": [
{
Expand All @@ -15,10 +17,23 @@
"name": "DoktorShift",
"uri": "https://github.com/DoktorShift",
"role": "Lead Developer"
},
{
"name": "Business-Bitcoin",
"uri": "https://business-bitcoin.de",
"role": "Contributor"
}
],
"images": [
{
"uri": "https://raw.githubusercontent.com/DoktorShift/DeviceTimer/main/static/image/DeviceTimer_Banner.png"
}
],
"images": [],
"description_md": "https://raw.githubusercontent.com/DoktorShift/DeviceTimer/main/description.md",
"terms_and_conditions_md": "https://raw.githubusercontent.com/DoktorShift/DeviceTimer/main/toc.md",
"license": "MIT"
"license": "MIT",
"paid_features": "",
"tags": ["IoT", "Hardware", "bitcoinSwitch", "Automation"],
"donate": "u60311@blink.sv",
"hidden": false
}
30 changes: 30 additions & 0 deletions description.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
Bring your physical devices to life with Bitcoin Lightning payments and powerful time-based controls.

DeviceTimer extends the bitcoinSwitch ecosystem, allowing you to create time-controlled Lightning-powered devices with ease.

## Features

- **Operating Hours** - Set when your device accepts payments (e.g., 09:00 - 17:00)
- **Cooldown Timeout** - Enforce waiting periods between triggers to prevent abuse
- **Daily Limits** - Restrict the maximum number of activations per day
- **Custom Status Images** - Display different images when closed or during cooldown
- **Multiple Switches** - Configure multiple GPIO outputs per device with individual pricing
- **Real-time Monitoring** - Track connected devices via WebSocket status indicators
- **Multi-Currency Support** - Price in sats or fiat (EUR, USD, GBP, and more)
- **Timezone Aware** - Operating hours respect your configured timezone

## Use Cases

- Animal feeding machines (zoos, farms, petting areas)
- Vending machines and product dispensers
- Arcade games and entertainment devices
- Access control and gate openers
- Any IoT device you want to monetize with Bitcoin

## Hardware

Works with ESP32-based bitcoinSwitch devices. Flash your device directly from the browser using the [Web Flasher](https://bitcoinswitch.lnbits.com).

## Documentation

Full setup guide and documentation available at [GitHub](https://github.com/DoktorShift/DeviceTimer).
43 changes: 43 additions & 0 deletions toc.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Terms and Conditions for DeviceTimer Extension

## 1. Acceptance of Terms

By installing and using the DeviceTimer extension ("Extension"), you agree to be bound by these terms and conditions ("Terms"). If you do not agree to these Terms, do not use the Extension.

## 2. License

The Extension is free and open-source software, released under the MIT License. You are permitted to use, copy, modify, and distribute the Extension under the terms of that license.

## 3. No Warranty

The Extension is provided "as is" and with all faults, and the developers expressly disclaim all warranties of any kind, whether express, implied, statutory, or otherwise, including but not limited to warranties of merchantability, fitness for a particular purpose, non-infringement, and any warranties arising out of course of dealing or usage of trade. No advice or information, whether oral or written, obtained from the developers or elsewhere will create any warranty not expressly stated in these Terms.

## 4. Hardware Disclaimer

This Extension is designed to work with ESP32-based hardware devices. The developers are not responsible for any damage to hardware, property, or persons resulting from the use of this Extension. Users are responsible for ensuring their hardware setup is safe and complies with all applicable electrical and safety regulations.

## 5. Limitation of Liability

In no event will the developers be liable to you or any third party for any direct, indirect, incidental, special, consequential, or punitive damages, including lost profit, lost revenue, loss of data, or other damages arising out of or in connection with your use of the Extension, even if the developers have been advised of the possibility of such damages. The foregoing limitation of liability shall apply to the fullest extent permitted by law in the applicable jurisdiction.

## 6. Financial Transactions

This Extension facilitates Bitcoin Lightning Network payments. Users are solely responsible for:
- Securing their own funds and wallets
- Compliance with local laws and regulations regarding cryptocurrency
- Any financial losses resulting from misconfiguration or misuse

## 7. Modification of Terms

The developers reserve the right to modify these Terms at any time. You are advised to review these Terms periodically for any changes. Changes to these Terms are effective when they are posted on the appropriate location within or associated with the Extension.

## 8. General Provisions

If any provision of these Terms is held to be invalid or unenforceable, that provision will be enforced to the maximum extent permissible, and the other provisions of these Terms will remain in full force and effect. These Terms constitute the entire agreement between you and the developers regarding the use of the Extension.

## 9. Contact Information

If you have any questions about these Terms, please contact the developers:
- GitHub: [https://github.com/DoktorShift/DeviceTimer](https://github.com/DoktorShift/DeviceTimer)
- pieterjm: [https://github.com/pieterjm](https://github.com/pieterjm)
- DoktorShift: [https://github.com/DoktorShift](https://github.com/DoktorShift)