# Store/Recall Vars

**URL:** <https://community.openhab.org/t/store-recall-vars/22946>\
**Category:** Scripts & Rules\
**Created:** [February 14, 2017, 10:55am UTC](https://community.openhab.org/t/store-recall-vars/22946 "2017-02-14T10:55:31Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![lopez1de](https://community.openhab.org/user_avatar/community.openhab.org/lopez1de/32/42745_2.png) [@lopez1de](https://community.openhab.org/u/lopez1de)\
**Post date:** [February 15, 2017, 11:16am UTC](https://community.openhab.org/t/store-recall-vars/22946/8 "2017-02-15T11:16:18Z")

</div>

rrd4j can store numbers only. You can try store each segment of the HSB in its own item, without the commas. Or use another persistence provider and store the whole HSB value as a string.

I dont know how to read a rrd4j db. Mysql should be the better choice for your needs.

EDIT: [openHAB2 & MySQL persistence setup](https://community.openhab.org/t/openhab2-mysql-persistence-setup/15829)

---

_[View the full topic](https://community.openhab.org/t/store-recall-vars/22946)._
